Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid new value for .tags_all: new element "<tagname>" has appeared. #4

Closed
roblevy opened this issue Mar 27, 2023 · 0 comments
Closed

Comments

@roblevy
Copy link

roblevy commented Mar 27, 2023

When we tried to create a new RDS instance using this module, with a cluster_instance_tags block, we got the following message:

╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for
│ module.insights_rds.aws_rds_cluster_instance.main[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
│ "MasterCredentialsSecretManagerARN" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵

This looks very much like an instance of this bug with the AWS Terraform provider itself.

I don't know if it's related but we were trying to set the tag value to be an ARN from a SecretsManager secret which was also being created IN THE SAME PR! Maybe that's why it's getting into difficulties:

  cluster_instance_tags = {
    MasterCredentialsSecretManagerARN = aws_secretsmanager_secret.insights_db_credentials.arn
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants