terraform-provider-awscc
terraform-provider-awscc copied to clipboard
Lex bot locale disappeared after adding `auto_build_bot_locales = true`
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 v1.2.6 on darwin_amd64
Affected Resource(s)
- awscc_lex_bot
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource "awscc_lex_bot" "util" {
name = "Util"
data_privacy = {
child_directed = false
}
idle_session_ttl_in_seconds = 300
role_arn = aws_iam_role.bots.arn
bot_locales = [
{
locale_id = "en_GB"
nlu_confidence_threshold = 0.5
intents = [
{
name = "Greeting"
sample_utterances = [
{ utterance = "Hi" },
{ utterance = "Hello" },
{ utterance = "Hiya" },
{ utterance = "Hi there" },
{ utterance = "Good morning" },
{ utterance = "Good afternoon" },
{ utterance = "Greetings" },
]
},
{
name = "Yes"
sample_utterances = [
{ utterance = "Yes" },
{ utterance = "Yep" },
{ utterance = "Yeah" },
{ utterance = "Definitely" },
{ utterance = "I think so" },
{ utterance = "Absolutely" },
]
},
{
name = "No"
sample_utterances = [
{ utterance = "No" },
{ utterance = "Nope" },
{ utterance = "That's it" },
{ utterance = "No, thank you" },
{ utterance = "No, thanks" },
]
},
{
name = "FallbackIntent"
parent_intent_signature = "AMAZON.FallbackIntent"
}
]
}
]
}
Debug Output
Panic Output
Expected Behavior
Locale is build.
Actual Behavior
Locale disappeared.
Steps to Reproduce
- Add
auto_build_bot_locales = true
to the bot resource above - Run
terraform apply
Important Factoids
References
- #0000
Potentially related to #190
found any solution to this?