Skip to content

Commit

Permalink
Fix error when create private API Gateway with resource policy (#25)
Browse files Browse the repository at this point in the history
* fix: error when create private api gateway

* Update main.tf

---------

Co-authored-by: PePe Amengual <[email protected]>
Co-authored-by: Max Lobur <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2023
1 parent c8a5409 commit 54d5799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 54d5799

Please sign in to comment.