diff --git a/terraform/hydrocron-apigw.tf b/terraform/hydrocron-apigw.tf index e0536a2d..b7e9297e 100644 --- a/terraform/hydrocron-apigw.tf +++ b/terraform/hydrocron-apigw.tf @@ -30,6 +30,9 @@ resource "aws_api_gateway_rest_api" "hydrocron-api-gateway" { resource "aws_api_gateway_rest_api_policy" "hydrocron-api-gateway-policy" { rest_api_id = aws_api_gateway_rest_api.hydrocron-api-gateway.id policy = data.aws_iam_policy_document.apigw-resource-policy.json + lifecycle { + ignore_changes = [ policy ] + } }