api_gateway_deployment

    0

    1

    lucycodes42

    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

    resource "aws_api_gateway_deployment" "${MyDemoDeployment}" {
       depends_on = [""]
    
       rest_api_id = ""
       stage_name = "test"
    
       variables = {
           "answer" = "42"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.