File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
terraform/infrastructure/modules/api_gateway Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff 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
2123resource "aws_api_gateway_integration" "capability" {
@@ -63,6 +65,11 @@ resource "aws_api_gateway_deployment" "api_gateway_deployment" {
6365
6466 depends_on = [
6567 aws_api_gateway_rest_api . api_gateway_rest_api ,
68+ aws_api_gateway_resource . capability ,
69+ aws_api_gateway_method . capability ,
70+ aws_api_gateway_integration . capability ,
71+ aws_api_gateway_method_response . capability_200 ,
72+ aws_api_gateway_integration_response . capability ,
6673 aws_api_gateway_integration_response . head_integration_response
6774 ]
6875}
Original file line number Diff line number Diff line change 1- import pytest
2-
31from tests .utilities .api_clients import ConsumerTestClient , ProducerTestClient
42
53
6- @pytest .mark .skip (reason = "Capability statements aren't working reliably at the minute" )
74def test_read_api_capability_statements (
85 consumer_client : ConsumerTestClient , producer_client : ProducerTestClient
96):
You can’t perform that action at this time.
0 commit comments