terraform-aws-modules / terraform-aws-vpc

Terraform module to create AWS VPC resources πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws
Apache License 2.0
2.97k stars 4.42k forks source link

fix: Added create_before_destroy to aws_customer_gateway #1036

Closed cageyv closed 7 months ago

cageyv commented 8 months ago

Description

In case of customer_gateway is used with TGW this changes will allow us to replace ip_address in the single terraform apply

Motivation and Context

β”‚ Error: deleting EC2 Customer Gateway (cgw-xxxxxxxxx): IncorrectState: The customer gateway is in use.
β”‚       status code: 400, request id: xxxxxx-994b-xxxx-xxx-xxxxxx

Breaking Changes

No

How Has This Been Tested?

antonbabenko commented 7 months ago

This PR is included in version 5.5.2 :tada:

github-actions[bot] commented 6 months ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.