You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Lex Bot Resource Creation/Update Fails with Provider State Inconsistency Error
Description
When creating or updating an awscc_lex_bot resource, the provider fails during terraform apply with a state inconsistency error related to the bot_locales attribute. The error occurs both during initial creation and subsequent updates of the bot but the bot is created successfully.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
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
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform AWSCC Provider Version: 1.19.0 (also reproduced in 1.17.0)
Terraform Version: hashicorp/terraform:1.9.6 running docker contains in GitLab CI CD pipeline.
Issue: Lex Bot Resource Creation/Update Fails with Provider State Inconsistency Error
Description
When creating or updating an
awscc_lex_bot
resource, the provider fails duringterraform apply
with a state inconsistency error related to thebot_locales
attribute. The error occurs both during initial creation and subsequent updates of the bot but the bot is created successfully.Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
terraform -v
Terraform v1.9.6
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Including 2 Gist
Default
https://gist.github.com/fakhtar/aeefd167a90c0a7396e8f0dafc426cc2
Log Level TRACE
https://gist.github.com/fakhtar/deb7880618ddc2285050e8d46c6aead8
Panic Output
Expected Behavior
terraform plan
terraform apply
Actual Behavior
Steps to Reproduce
terraform plan
(completes successfully)terraform apply
(fails with above error)Steps to Reproduce
Important Factoids
terraform plan
completes successfully, suggesting the configuration is validbot_locales
attributePossible Impact
This issue prevents the creation and management of Lex bots through Terraform, requiring manual intervention or alternative approaches.
References
The text was updated successfully, but these errors were encountered: