0
1
llucycodes42
This code declares a resource called "aws_api_gateway_deployment" and sets its value to the value of the local variable "${MyDemoDeployment}" which is a reference to the AWS Gateway deployment created in the previous step. This deployment has the stage name "test" and the variables "answer" and "rest_api_id" are defined.
Shortcut: tf_api_gateway_deployment
resource "aws_api_gateway_deployment" "${MyDemoDeployment}" {
depends_on = [""]
rest_api_id = ""
stage_name = "test"
variables = {
"answer" = "42"
}
}