diff --git a/main.tf b/main.tf index 7c98ea6..2b1cf0e 100644 --- a/main.tf +++ b/main.tf @@ -47,6 +47,7 @@ resource "aws_api_gateway_deployment" "this" { lifecycle { create_before_destroy = true } + depends_on = [aws_api_gateway_rest_api_policy.this] } resource "aws_api_gateway_stage" "this" {