The resource should have applied with the same configuration_name value as specified in the configuration file.
Actual Behavior
After applying the changes, Terraform produced an error due to an inconsistency between the expected configuration_name and the one applied. Specifically, the name changed from example-develop-ci-cd to example-development-ci-cd, causing an inconsistency error.
Relevant Error/Panic Output Snippet
Error: Provider produced inconsistent result after apply
When applying changes to aws_chatbot_slack_channel_configuration.example_develop_ci_cd,
provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new
value: .configuration_name: was cty.StringVal("example-develop-ci-cd"), but now
cty.StringVal("example-development-ci-cd").
This is a bug in the provider, which should be reported in the provider's own issue
tracker.
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 Core Version
1.9.5
AWS Provider Version
5.67.0
Affected Resource(s)
aws_chatbot_slack_channel_configuration
Expected Behavior
The resource should have applied with the same configuration_name value as specified in the configuration file.
Actual Behavior
After applying the changes, Terraform produced an error due to an inconsistency between the expected configuration_name and the one applied. Specifically, the name changed from example-develop-ci-cd to example-development-ci-cd, causing an inconsistency error.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_chatbot_slack_channel_configuration" "example_develop_ci_cd" { configuration_name = "example-develop-ci-cd" slack_channel_id = local.slack_channel_id slack_team_id = local.slack_workspace_id
sns_topic_arns = [local.sns_topic_arn] iam_role_arn = local.chatbot_iam_role guardrail_policy_arns = [ "arn:aws:iam::aws:policy/ReadOnlyAccess" ] user_authorization_required = false }
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