Closed rswail closed 2 years 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
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.
When creating the VPN Connection, the "Name" tag is pre-configured to be: "VPN Connection between VPC vpc-xxxxxx and Customer Gateway cgw-xxxx"
If a "Name" tag is provided in the tags variable for the module, the error:
╷ │ Error: Provider produced inconsistent final plan │ │ When expanding the plan for module.infra.module.vpn_gateway[0].aws_vpn_connection.default[0] to include new values learned so far during apply, │ provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for .tags_all: new element "Name" has appeared. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵ ╷
Versions
Terraform: 1.0.11
Provider(s):
provider registry.terraform.io/hashicorp/aws v3.65.0
Module:
terraform-aws-modules/vpn-gateway/aws version 2.11.0
Expected behavior
The "Name" tag for the VPN connection should use the tags.Name provided instead of defining its own.
Actual behavior
An error was produced as above.