Created
May 16, 2018 00:05
-
-
Save wobondar/75cf18fd5441fad781edc52e9d07f9f8 to your computer and use it in GitHub Desktop.
AWS API Gateway Terraform trigger for re-deployment whenever it has any changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_api_gateway_deployment" "api_gw_deployment" { | |
| stage_description = "${md5(file("apigateway.tf"))}" | |
| rest_api_id = "${aws_api_gateway_rest_api.api_gw.id}" | |
| stage_name = "production" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment