Open hanoj-budime opened 11 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @HanojHanu 👋 Thank you for taking the time to raise this! I suspect this may be related to some of the specifics of your configuration. Are you able to supply a sample Terraform configuration that can be used to reproduce the bug?
resource "aws_cognito_user" "create_user" {
# * Required
user_pool_id = local.my_user_pool_id
username = local.my_username
# ? optional
attributes = var.attributes
desired_delivery_mediums = var.desired_delivery_mediums
enabled = var.enabled
message_action = var.message_action
}
Terraform Core Version
1.4.6
AWS Provider Version
4.67.0
Affected Resource(s)
aws_cognito_user
Expected Behavior
User case :
While Creating User-pool, we are also create users at the same time.
Attempted solution:
Actual Behavior
Update in-place
Relevant Error/Panic Output Snippet
Why, refreshing terraform code next time, user-pool tags are updating in-place update why user creation is "forces replacement" ?
Terraform Configuration Files
No response
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None