{\rtf1\ansi\ansicpg1252\cocoartf2761 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \margl1440\margr1440\vieww11520\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 sai.teja.makani@ip-10-200-5-9 dev % terraform apply \ module.vpc_private_link_module.data.aws_lb._aws_lb: Reading...\ module.vpc_private_link_module.data.aws_lb._aws_lb: Read complete after 1s [id=arn:aws:elasticloadbalancing:us-west-2:134567476717:loadbalancer/net/ade59a1110a834db7875668eda06718e/d9374ce9ed48977b]\ module.vpc_private_link_module.aws_api_gateway_vpc_link.vpc_link: Refreshing state... [id=rpmt07]\ module.api_gateway_module.data.aws_region.current: Reading...\ module.api_gateway_module.data.aws_caller_identity.current: Reading...\ module.api_gateway_module.data.aws_region.current: Read complete after 0s [id=us-west-2]\ module.api_gateway_module.aws_api_gateway_rest_api.api_gateway: Refreshing state... [id=pe6r8819jl]\ module.api_gateway_module.data.aws_caller_identity.current: Read complete after 0s [id=134567476717]\ module.api_gateway_module.aws_api_gateway_rest_api_policy.api_gateway_policy[0]: Refreshing state... [id=pe6r8819jl]\ module.api_gateway_resources_module.aws_api_gateway_resource.api_gateway_resource: Refreshing state... [id=va7ja8]\ module.api_gateway_resources_module.aws_api_gateway_method.api_gateway_method: Refreshing state... [id=agm-pe6r8819jl-va7ja8-ANY]\ module.api_gateway_resources_module.aws_api_gateway_method_response.api_gateway_method_response: Refreshing state... [id=agmr-pe6r8819jl-va7ja8-ANY-200]\ module.api_gateway_resources_module.aws_api_gateway_integration.api_gateway_integration: Refreshing state... [id=agi-pe6r8819jl-va7ja8-ANY]\ module.api_gateway_resources_module.aws_api_gateway_integration_response.api_gateway_integration_response: Refreshing state... [id=agir-pe6r8819jl-va7ja8-ANY-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_resource.api_gateway_resources[2]: Refreshing state... [id=52xvol]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_resource.api_gateway_resources[1]: Refreshing state... [id=pxvdtm]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_resource.api_gateway_resources[0]: Refreshing state... [id=4l5o50]\ module.custom_domain_module.aws_api_gateway_domain_name.custom_domain: Refreshing state... [id=data-api-dev.internal.spotter.la]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method.api_gateway_methods[1]: Refreshing state... [id=agm-pe6r8819jl-pxvdtm-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method.api_gateway_methods[2]: Refreshing state... [id=agm-pe6r8819jl-52xvol-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method.api_gateway_methods[0]: Refreshing state... [id=agm-pe6r8819jl-4l5o50-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method_response.api_gateway_method_responses[1]: Refreshing state... [id=agmr-pe6r8819jl-pxvdtm-GET-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method_response.api_gateway_method_responses[2]: Refreshing state... [id=agmr-pe6r8819jl-52xvol-GET-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_method_response.api_gateway_method_responses[0]: Refreshing state... [id=agmr-pe6r8819jl-4l5o50-GET-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration.api_gateway_integrations[1]: Refreshing state... [id=agi-pe6r8819jl-pxvdtm-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration.api_gateway_integrations[0]: Refreshing state... [id=agi-pe6r8819jl-4l5o50-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration.api_gateway_integrations[2]: Refreshing state... [id=agi-pe6r8819jl-52xvol-GET]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration_response.api_gateway_integration_responses[1]: Refreshing state... [id=agir-pe6r8819jl-pxvdtm-GET-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration_response.api_gateway_integration_responses[2]: Refreshing state... [id=agir-pe6r8819jl-52xvol-GET-200]\ module.api_gateway_non_cache_resources_module.aws_api_gateway_integration_response.api_gateway_integration_responses[0]: Refreshing state... [id=agir-pe6r8819jl-4l5o50-GET-200]\ module.api_gateway_deployment_module.aws_api_gateway_deployment.api_gateway_deployment: Refreshing state... [id=wb29n8]\ module.api_gateway_deployment_module.aws_api_gateway_stage.api_gateway_stage: Refreshing state... [id=ags-pe6r8819jl-dev]\ module.api_gateway_deployment_module.aws_api_gateway_method_settings.api_gateway_method_settings: Refreshing state... [id=pe6r8819jl-dev-*/*]\ module.custom_domain_module.aws_api_gateway_base_path_mapping.custom_domain_mapping: Refreshing state... [id=data-api-dev.internal.spotter.la/]\ module.api_gateway_deployment_module.aws_wafv2_web_acl_association.api_gateway_waf_association: Refreshing state... [id=arn:aws:wafv2:us-west-2:134567476717:regional/webacl/spotter-data-api-de-dev-pub-waf/833a358a-ace6-4e12-b85e-bec7ad816ed3,arn:aws:apigateway:us-west-2::/restapis/pe6r8819jl/stages/dev]\ module.api_gateway_deployment_module.aws_api_gateway_method_settings.api_gateway_method_settings_non_cache[0]: Refreshing state... [id=pe6r8819jl-dev-swagger/GET]\ module.api_gateway_deployment_module.aws_api_gateway_method_settings.api_gateway_method_settings_non_cache[2]: Refreshing state... [id=pe6r8819jl-dev-metrics/GET]\ module.api_gateway_deployment_module.aws_api_gateway_method_settings.api_gateway_method_settings_non_cache[1]: Refreshing state... [id=pe6r8819jl-dev-health_check/GET]\ module.data_api_api_gateway_dns.aws_route53_record.alias_records["Z03995913U1JTU7L6MX5"]: Refreshing state... [id=Z03995913U1JTU7L6MX5_data-api-dev.internal.spotter.la_A]\ module.data_api_api_gateway_dns.aws_route53_record.alias_records["Z0953046OKEPV31QFFE1"]: Refreshing state... [id=Z0953046OKEPV31QFFE1_data-api-dev.internal.spotter.la_A]\ \ Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:\ ~ update in-place\ -/+ destroy and then create replacement\ <= read (data resources)\ \ Terraform will perform the following actions:\ \ # module.api_gateway_deployment_module.data.aws_wafv2_web_acl.existing_waf will be read during apply\ # (depends on a resource or a module with changes pending)\ <= data "aws_wafv2_web_acl" "existing_waf" \{\ + arn = (known after apply)\ + description = (known after apply)\ + id = (known after apply)\ + name = "spotter-data-api-de-dev-pub-waf"\ + scope = "REGIONAL"\ \}\ \ # module.api_gateway_deployment_module.aws_wafv2_web_acl_association.api_gateway_waf_association must be replaced\ -/+ resource "aws_wafv2_web_acl_association" "api_gateway_waf_association" \{\ ~ id = "arn:aws:wafv2:us-west-2:134567476717:regional/webacl/spotter-data-api-de-dev-pub-waf/833a358a-ace6-4e12-b85e-bec7ad816ed3,arn:aws:apigateway:us-west-2::/restapis/pe6r8819jl/stages/dev" -> (known after apply)\ ~ web_acl_arn = "arn:aws:wafv2:us-west-2:134567476717:regional/webacl/spotter-data-api-de-dev-pub-waf/833a358a-ace6-4e12-b85e-bec7ad816ed3" -> (known after apply) # forces replacement\ # (1 unchanged attribute hidden)\ \}\ \ # module.api_gateway_resources_module.aws_api_gateway_integration.api_gateway_integration will be updated in-place\ ~ resource "aws_api_gateway_integration" "api_gateway_integration" \{\ ~ cache_key_parameters = [\ - "integration.request.querystring.user_id",\ - "method.request.querystring.user_id",\ # (109 unchanged elements hidden)\ ]\ id = "agi-pe6r8819jl-va7ja8-ANY"\ ~ request_parameters = \{\ - "integration.request.querystring.user_id" = "method.request.querystring.user_id" -> null\ # (55 unchanged elements hidden)\ \}\ # (14 unchanged attributes hidden)\ \}\ \ # module.api_gateway_resources_module.aws_api_gateway_method.api_gateway_method will be updated in-place\ ~ resource "aws_api_gateway_method" "api_gateway_method" \{\ id = "agm-pe6r8819jl-va7ja8-ANY"\ ~ request_parameters = \{\ - "method.request.querystring.user_id" = false -> null\ # (54 unchanged elements hidden)\ \}\ # (10 unchanged attributes hidden)\ \}\ \ # module.custom_domain_module.data.aws_acm_certificate.existing_cert will be read during apply\ # (depends on a resource or a module with changes pending)\ <= data "aws_acm_certificate" "existing_cert" \{\ + arn = (known after apply)\ + certificate = (known after apply)\ + certificate_chain = (known after apply)\ + domain = "*.internal.spotter.la"\ + id = (known after apply)\ + status = (known after apply)\ + tags = (known after apply)\ \}\ \ # module.custom_domain_module.aws_api_gateway_domain_name.custom_domain will be updated in-place\ ~ resource "aws_api_gateway_domain_name" "custom_domain" \{\ id = "data-api-dev.internal.spotter.la"\ ~ regional_certificate_arn = "arn:aws:acm:us-west-2:134567476717:certificate/25eaff6f-a016-4388-8169-9034045fa06e" -> (known after apply)\ tags = \{\}\ # (13 unchanged attributes hidden)\ \ # (1 unchanged block hidden)\ \}\ \ # module.data_api_api_gateway_dns.data.aws_route53_zone.zones["Z03995913U1JTU7L6MX5"] will be read during apply\ # (depends on a resource or a module with changes pending)\ <= data "aws_route53_zone" "zones" \{\ + arn = (known after apply)\ + caller_reference = (known after apply)\ + comment = (known after apply)\ + id = (known after apply)\ + linked_service_description = (known after apply)\ + linked_service_principal = (known after apply)\ + name = (known after apply)\ + name_servers = (known after apply)\ + primary_name_server = (known after apply)\ + resource_record_set_count = (known after apply)\ + tags = (known after apply)\ + vpc_id = (known after apply)\ + zone_id = "Z03995913U1JTU7L6MX5"\ \}\ \ # module.data_api_api_gateway_dns.data.aws_route53_zone.zones["Z0953046OKEPV31QFFE1"] will be read during apply\ # (depends on a resource or a module with changes pending)\ <= data "aws_route53_zone" "zones" \{\ + arn = (known after apply)\ + caller_reference = (known after apply)\ + comment = (known after apply)\ + id = (known after apply)\ + linked_service_description = (known after apply)\ + linked_service_principal = (known after apply)\ + name = (known after apply)\ + name_servers = (known after apply)\ + primary_name_server = (known after apply)\ + resource_record_set_count = (known after apply)\ + tags = (known after apply)\ + vpc_id = (known after apply)\ + zone_id = "Z0953046OKEPV31QFFE1"\ \}\ \ Plan: 1 to add, 3 to change, 1 to destroy.\ \ Do you want to perform these actions in workspace "data-api-api-gateway-dev"?\ Terraform will perform the actions described above.\ Only 'yes' will be accepted to approve.\ \ Enter a value: yes\ \ module.api_gateway_deployment_module.aws_wafv2_web_acl_association.api_gateway_waf_association: Destroying... [id=arn:aws:wafv2:us-west-2:134567476717:regional/webacl/spotter-data-api-de-dev-pub-waf/833a358a-ace6-4e12-b85e-bec7ad816ed3,arn:aws:apigateway:us-west-2::/restapis/pe6r8819jl/stages/dev]\ module.api_gateway_deployment_module.aws_wafv2_web_acl_association.api_gateway_waf_association: Destruction complete after 1s\ module.api_gateway_resources_module.aws_api_gateway_method.api_gateway_method: Modifying... [id=agm-pe6r8819jl-va7ja8-ANY]\ \uc0\u9591 \ \uc0\u9474 Error: updating API Gateway Integration: operation error API Gateway: UpdateIntegration, https response error StatusCode: 400, RequestID: 80fd2778-2107-4ca8-b248-2eb6cddd9f4f, BadRequestException: Invalid mapping expression specified: Validation Result: warnings : [], errors : [Invalid mapping expression parameter specified: method.request.querystring.user_id]\ \uc0\u9474 \ \uc0\u9474 with module.api_gateway_resources_module.aws_api_gateway_method.api_gateway_method,\ \uc0\u9474 on ../modules/api_gateway_proxy_resources/api_gateway_resource.tf line 17, in resource "aws_api_gateway_method" "api_gateway_method":\ \uc0\u9474 17: resource "aws_api_gateway_method" "api_gateway_method" \{\ \uc0\u9474 \ \uc0\u9589 \ Releasing state lock. This may take a few moments...}