-
Notifications
You must be signed in to change notification settings - Fork 121
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] Lex Bot Resource Creation/Update Fails with Provider State Inconsistency Error #2091
Comments
Thank you for opening the issue @fakhtar . Let me get back to you on this.
|
The bot does get created in the region, but with null responses for most of the state references.
|
That is correct @quixoticmonk . I am seeing the same. |
I'm seeing this same error related to the stack/stackset resource. The statckset resources are created, but with null responses in the state file. I'm picking back up on an old project, but saw this error back in version 1.6 of the awscc provider (now trying to use v1.23).
|
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: