Skip to content

Commit 4eb4191

Browse files
committed
NRL-753 add depends on to make sure method is made after resource
1 parent a02f3e2 commit 4eb4191

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform/infrastructure/modules/api_gateway/api_gateway.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ resource "aws_api_gateway_method" "capability" {
1616
resource_id = aws_api_gateway_resource.capability.id
1717
http_method = "GET"
1818
authorization = "NONE"
19+
20+
depends_on = [aws_api_gateway_resource.capability]
1921
}
2022

2123
resource "aws_api_gateway_integration" "capability" {

0 commit comments

Comments
 (0)