Closed vainkop closed 1 year ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
/reopen
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
I'm using this module to provision TGW & TGW attachments in multiaccount environment. Everything works however on every terraform plan I see a diff for
transit_gateway_default_route_table_association = true -> false
There is a related issue with a workaround provided here but lifecycle can be used only inside the resource which means that only the owner of the module can implement it or I have to pull the code into my repo which is undesired.
Versions
Module version [Required]: 2.8.1
Terraform version: 1.3.4
Terragrunt version: 0.40.2
Provider version(s):
provider registry.terraform.io/hashicorp/aws v4.38.0
provider registry.terraform.io/hashicorp/local v2.2.2
provider registry.terraform.io/hashicorp/null v3.1.1
provider registry.terraform.io/hashicorp/random v3.4.3
provider registry.terraform.io/hashicorp/template v2.2.0
Reproduction Code [Required]
Steps to reproduce the behavior:
No. Using terragrunt.
Yes
terrafomr/terragrunt plan
Expected behavior
no diff
Actual behavior
There is always a diff regardless if the account has a TGW or only attachment. Example: