resource "aws_api_gateway_deployment" "${MyDemoDeployment}" {
         depends_on = [""]
      
         rest_api_id = ""
         stage_name = "test"
      
         variables = {
             "answer" = "42"
         }
      }
      Terraform language logo

      api_gateway_deployment

      Terraform snippets

      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

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.