File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4141| <a name =" module_bulk-upload-report-lambda " ></a > [ bulk-upload-report-lambda] ( #module\_ bulk-upload-report-lambda ) | ./modules/lambda | n/a |
4242| <a name =" module_bulk_upload_metadata_preprocessor_lambda " ></a > [ bulk\_ upload\_ metadata\_ preprocessor\_ lambda] ( #module\_ bulk\_ upload\_ metadata\_ preprocessor\_ lambda ) | ./modules/lambda | n/a |
4343| <a name =" module_bulk_upload_report_dynamodb_table " ></a > [ bulk\_ upload\_ report\_ dynamodb\_ table] ( #module\_ bulk\_ upload\_ report\_ dynamodb\_ table ) | ./modules/dynamo_db | n/a |
44- | <a name =" module_cloud_storage_security " ></a > [ cloud\_ storage\_ security] ( #module\_ cloud\_ storage\_ security ) | cloudstoragesec/cloud-storage-security/aws | 1.7.1 +css8.07 .002 |
44+ | <a name =" module_cloud_storage_security " ></a > [ cloud\_ storage\_ security] ( #module\_ cloud\_ storage\_ security ) | cloudstoragesec/cloud-storage-security/aws | 1.7.4 +css8.08 .002 |
4545| <a name =" module_cloudfront-distribution-lg " ></a > [ cloudfront-distribution-lg] ( #module\_ cloudfront-distribution-lg ) | ./modules/cloudfront | n/a |
4646| <a name =" module_cloudfront_edge_dynamodb_table " ></a > [ cloudfront\_ edge\_ dynamodb\_ table] ( #module\_ cloudfront\_ edge\_ dynamodb\_ table ) | ./modules/dynamo_db | n/a |
4747| <a name =" module_cloudfront_firewall_waf_v2 " ></a > [ cloudfront\_ firewall\_ waf\_ v2] ( #module\_ cloudfront\_ firewall\_ waf\_ v2 ) | ./modules/firewall_waf_v2 | n/a |
Original file line number Diff line number Diff line change @@ -93,14 +93,20 @@ resource "aws_api_gateway_stage" "ndr_api" {
9393 stage_name = var. environment
9494 xray_tracing_enabled = var. enable_xray_tracing
9595
96- depends_on = [aws_cloudwatch_log_group . api_gateway_stage ]
96+ depends_on = [
97+ aws_api_gateway_account . logging ,
98+ aws_cloudwatch_log_group . api_gateway_stage
99+ ]
97100}
98101
99102resource "aws_cloudwatch_log_group" "api_gateway_stage" {
100103 # Name must follow this format to allow execution logging
101104 # https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
102105 name = " API-Gateway-Execution-Logs_${ aws_api_gateway_rest_api . ndr_doc_store_api . id } /${ var . environment } "
103106 retention_in_days = 0
107+ depends_on = [
108+ aws_api_gateway_account . logging
109+ ]
104110}
105111
106112resource "aws_api_gateway_method_settings" "api_gateway_stage" {
You can’t perform that action at this time.
0 commit comments