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

[Bug]: added auth_token_update_strategy forces me to set auth_token #34592

Closed
juancresc opened this issue Nov 28, 2023 · 4 comments · Fixed by #34600
Closed

[Bug]: added auth_token_update_strategy forces me to set auth_token #34592

juancresc opened this issue Nov 28, 2023 · 4 comments · Fixed by #34600
Assignees
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. service/elasticache Issues and PRs that pertain to the elasticache service.

Comments

@juancresc
Copy link

Terraform Core Version

v1.5.5

AWS Provider Version

2023.11.17

Affected Resource(s)

after upgrading, this change #34460 tried to add auth_token_update_strategy to elasticache.

~ resource "aws_elasticache_replication_group" "mycache" {
+ auth_token_update_strategy     = "ROTATE"
id                             = "mycache"
tags                           = {
"Name" = "device-graph"
}
# (30 unchanged attributes hidden)
}

Now its trying to force me to add an auth token and I cant avoid it


│ Error: Missing required argument
│ 
│   with module.device-graph.aws_elasticache_replication_group.redis-udg-cluster,
│   on mycache/main.tf line 61, in resource "aws_elasticache_replication_group" "mycache":
│   61:   auth_token_update_strategy = "ROTATE"
│ 
│ "auth_token_update_strategy": all of `auth_token,auth_token_update_strategy` must be specified
╵

Not sure how to proceed

Expected Behavior

Do not change anything related to elasticache

Actual Behavior

Changed an elasticache property that requires yet another property which I dont want to provide

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

just having an aws_elasticache_replication_group and after upgrade the error will appear

resource "aws_elasticache_replication_group" "mycache" {
}

Steps to Reproduce

have a aws_elasticache_replication_group, then upgrade tf version, apply any change (not even related to elasticache).

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@juancresc juancresc added the bug Addresses a defect in current functionality. label Nov 28, 2023
@github-actions github-actions bot added the service/elasticache Issues and PRs that pertain to the elasticache service. label Nov 28, 2023
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 28, 2023
@hluaces
Copy link

hluaces commented Nov 28, 2023

Setting an explicit auth_token_update_strategy = null worked for us in the meanwhile.

@jar-b jar-b added regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 28, 2023
@jar-b jar-b self-assigned this Nov 28, 2023
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Nov 28, 2023
@juancresc
Copy link
Author

Setting an explicit auth_token_update_strategy = null worked for us in the meanwhile.

this actually did the trick for me as well, thanks!

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. service/elasticache Issues and PRs that pertain to the elasticache service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants