module.lex.aws_lexv2models_slot.slots["ContactUs-Department"]: Creating...
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value:
│ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True,
│ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}),
│ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640),
│ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"),
│ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Initial"),
│ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value:
│ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True,
│ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}),
│ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640),
│ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"),
│ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry1"),
│ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value:
│ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True,
│ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}),
│ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640),
│ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"),
│ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry2"),
│ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value:
│ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True,
│ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}),
│ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640),
│ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"),
│ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry3"),
│ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value:
│ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: block set length changed from 0 to 4.
│
│ 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.8
AWS Provider Version
5.73.0
Affected Resource(s)
aws_lexv2models_slot
module.lex.aws_lexv2models_slot.slots["ContactUs-Department"] will be created
resource "aws_lexv2models_slot" "slots" {
bot_id = (known after apply)
bot_version = "DRAFT"
description = "Department name"
id = (known after apply)
intent_id = (known after apply)
locale_id = "en_US"
name = "Department"
slot_id = (known after apply)
slot_type_id = "AMAZON.AlphaNumeric"
value_elicitation_setting {
slot_constraint = "Required"
prompt_specification {
allow_interrupt = true
max_retries = 3
message_selection_strategy = "Random"
message_group {
Expected Behavior
create the slot resource
Actual Behavior
unable to create th slot resource for the intent
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
module.lex.aws_lexv2models_slot.slots["ContactUs-Department"] will be created
resource "aws_lexv2models_slot" "slots" {
bot_id = (known after apply)
bot_version = "DRAFT"
description = "Department name"
id = (known after apply)
intent_id = (known after apply)
locale_id = "en_US"
name = "Department"
slot_id = (known after apply)
slot_type_id = "AMAZON.AlphaNumeric"
value_elicitation_setting {
slot_constraint = "Required"
prompt_specification {
allow_interrupt = true
max_retries = 3
message_selection_strategy = "Random"
message_group {
Steps to Reproduce
main.tf
Now, init,play and apply, you will see Error
Debug Output
module.lex.aws_lexv2models_slot.slots["ContactUs-Department"]: Creating... ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value: │ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True, │ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}), │ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640), │ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"), │ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Initial"), │ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value: │ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True, │ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}), │ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640), │ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"), │ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry1"), │ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value: │ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True, │ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}), │ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640), │ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"), │ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry2"), │ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value: │ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: actual set element cty.ObjectVal(map[string]cty.Value{"allow_interrupt":cty.True, │ "allowed_input_types":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"allow_audio_input":cty.True, "allow_dtmf_input":cty.True})}), │ "audio_and_dtmf_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"audio_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"end_timeout_ms":cty.NumberIntVal(640), │ "max_length_ms":cty.NumberIntVal(15000)})}), "dtmf_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deletion_character":cty.StringVal(""), "end_character":cty.StringVal("#"), │ "end_timeout_ms":cty.NumberIntVal(5000), "max_length":cty.NumberIntVal(513)})}), "start_timeout_ms":cty.NumberIntVal(4000)})}), "map_block_key":cty.StringVal("Retry3"), │ "text_input_specification":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"start_timeout_ms":cty.NumberIntVal(30000)})})}) does not correlate with any element in plan. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to module.lex.aws_lexv2models_slot.slots["ContactUs-Department"], provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value: │ .value_elicitation_setting[0].prompt_specification[0].prompt_attempts_specification: block set length changed from 0 to 4. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None