We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e62b150 commit 52650a4Copy full SHA for 52650a4
2 files changed
infrastructure/terraform/components/api/api_gateway_rest_api.tf
@@ -5,6 +5,7 @@ resource "aws_api_gateway_rest_api" "main" {
5
disable_execute_api_endpoint = var.disable_gateway_execute_endpoint
6
7
lifecycle {
8
- replace_triggered_by = [terraform_data.rest_api_security_policy]
+ replace_triggered_by = [terraform_data.rest_api_security_policy]
9
+ create_before_destroy = true
10
}
11
infrastructure/terraform/components/api/api_gateway_stage.tf
@@ -4,8 +4,6 @@ resource "aws_api_gateway_stage" "main" {
4
rest_api_id = aws_api_gateway_rest_api.main.id
deployment_id = aws_api_gateway_deployment.main.id
- depends_on = [aws_api_gateway_base_path_mapping.main]
-
access_log_settings {
destination_arn = aws_cloudwatch_log_group.api_gateway_access.arn
0 commit comments