Skip to content
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

Added proper status and waiter to Lex Bot. Fixed issues with import tests. #21122

Merged
merged 15 commits into from
Oct 5, 2021

Conversation

AdamTylerLynch
Copy link
Collaborator

@AdamTylerLynch AdamTylerLynch commented Oct 1, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment 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 pull request followers and do not help prioritize the request

Closes #21107.
Closes #21045.
Closes #15555.
Closes #15605.

Output from acceptance testing:

$  make testacc TESTARGS='-run=TestAccAwsLex' ACCTEST PARALLELISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsLex -timeout 180m
=== RUN   TestAccAwsLexBotAlias_basic
=== PAUSE TestAccAwsLexBotAlias_basic
=== RUN   TestAccAwsLexBotAlias_conversationLogsText
=== PAUSE TestAccAwsLexBotAlias_conversationLogsText
=== RUN   TestAccAwsLexBotAlias_conversationLogsAudio
=== PAUSE TestAccAwsLexBotAlias_conversationLogsAudio
=== RUN   TestAccAwsLexBotAlias_conversationLogsBoth
=== PAUSE TestAccAwsLexBotAlias_conversationLogsBoth
=== RUN   TestAccAwsLexBotAlias_description
=== PAUSE TestAccAwsLexBotAlias_description
=== RUN   TestAccAwsLexBotAlias_disappears
=== PAUSE TestAccAwsLexBotAlias_disappears
=== RUN   TestAccAwsLexBot_basic
=== PAUSE TestAccAwsLexBot_basic
=== RUN   TestAccAwsLexBot_version_serial
=== RUN   TestAccAwsLexBot_version_serial/LexBot_createVersion
=== RUN   TestAccAwsLexBot_version_serial/LexBotAlias_botVersion
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic
--- PASS: TestAccAwsLexBot_version_serial (171.06s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (47.43s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (45.74s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (36.51s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (41.38s)
=== RUN   TestAccAwsLexBot_abortStatement
=== PAUSE TestAccAwsLexBot_abortStatement
=== RUN   TestAccAwsLexBot_clarificationPrompt
=== PAUSE TestAccAwsLexBot_clarificationPrompt
=== RUN   TestAccAwsLexBot_childDirected
=== PAUSE TestAccAwsLexBot_childDirected
=== RUN   TestAccAwsLexBot_description
=== PAUSE TestAccAwsLexBot_description
=== RUN   TestAccAwsLexBot_detectSentiment
=== PAUSE TestAccAwsLexBot_detectSentiment
=== RUN   TestAccAwsLexBot_enableModelImprovements
=== PAUSE TestAccAwsLexBot_enableModelImprovements
=== RUN   TestAccAwsLexBot_idleSessionTtlInSeconds
=== PAUSE TestAccAwsLexBot_idleSessionTtlInSeconds
=== RUN   TestAccAwsLexBot_intents
=== PAUSE TestAccAwsLexBot_intents
=== RUN   TestAccAwsLexBot_computeVersion
--- PASS: TestAccAwsLexBot_computeVersion (78.19s)
=== RUN   TestAccAwsLexBot_locale
=== PAUSE TestAccAwsLexBot_locale
=== RUN   TestAccAwsLexBot_voiceId
=== PAUSE TestAccAwsLexBot_voiceId
=== RUN   TestAccAwsLexBot_disappears
=== PAUSE TestAccAwsLexBot_disappears
=== RUN   TestAccAwsLexIntent_basic
=== PAUSE TestAccAwsLexIntent_basic
=== RUN   TestAccAwsLexIntent_createVersion
=== PAUSE TestAccAwsLexIntent_createVersion
=== RUN   TestAccAwsLexIntent_conclusionStatement
=== PAUSE TestAccAwsLexIntent_conclusionStatement
=== RUN   TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== PAUSE TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== RUN   TestAccAwsLexIntent_dialogCodeHook
=== PAUSE TestAccAwsLexIntent_dialogCodeHook
=== RUN   TestAccAwsLexIntent_followUpPrompt
=== PAUSE TestAccAwsLexIntent_followUpPrompt
=== RUN   TestAccAwsLexIntent_fulfillmentActivity
=== PAUSE TestAccAwsLexIntent_fulfillmentActivity
=== RUN   TestAccAwsLexIntent_sampleUtterances
=== PAUSE TestAccAwsLexIntent_sampleUtterances
=== RUN   TestAccAwsLexIntent_slots
=== PAUSE TestAccAwsLexIntent_slots
=== RUN   TestAccAwsLexIntent_slotsCustom
=== PAUSE TestAccAwsLexIntent_slotsCustom
=== RUN   TestAccAwsLexIntent_disappears
=== PAUSE TestAccAwsLexIntent_disappears
=== RUN   TestAccAwsLexIntent_updateWithExternalChange
=== PAUSE TestAccAwsLexIntent_updateWithExternalChange
=== RUN   TestAccAwsLexIntent_computeVersion
=== PAUSE TestAccAwsLexIntent_computeVersion
=== RUN   TestAccAwsLexSlotType_basic
=== PAUSE TestAccAwsLexSlotType_basic
=== RUN   TestAccAwsLexSlotType_createVersion
=== PAUSE TestAccAwsLexSlotType_createVersion
=== RUN   TestAccAwsLexSlotType_description
=== PAUSE TestAccAwsLexSlotType_description
=== RUN   TestAccAwsLexSlotType_enumerationValues
=== PAUSE TestAccAwsLexSlotType_enumerationValues
=== RUN   TestAccAwsLexSlotType_name
=== PAUSE TestAccAwsLexSlotType_name
=== RUN   TestAccAwsLexSlotType_valueSelectionStrategy
=== PAUSE TestAccAwsLexSlotType_valueSelectionStrategy
=== RUN   TestAccAwsLexSlotType_disappears
=== PAUSE TestAccAwsLexSlotType_disappears
=== RUN   TestAccAwsLexSlotType_computeVersion
=== PAUSE TestAccAwsLexSlotType_computeVersion
=== CONT  TestAccAwsLexBotAlias_basic
=== CONT  TestAccAwsLexSlotType_computeVersion
=== CONT  TestAccAwsLexIntent_computeVersion
=== CONT  TestAccAwsLexBot_description
=== CONT  TestAccAwsLexBot_locale
=== CONT  TestAccAwsLexBotAlias_disappears
=== CONT  TestAccAwsLexIntent_conclusionStatement
=== CONT  TestAccAwsLexIntent_sampleUtterances
=== CONT  TestAccAwsLexIntent_updateWithExternalChange
=== CONT  TestAccAwsLexSlotType_valueSelectionStrategy
=== CONT  TestAccAwsLexSlotType_disappears
=== CONT  TestAccAwsLexSlotType_description
=== CONT  TestAccAwsLexSlotType_name
=== CONT  TestAccAwsLexSlotType_createVersion
=== CONT  TestAccAwsLexSlotType_basic
=== CONT  TestAccAwsLexIntent_slotsCustom
=== CONT  TestAccAwsLexIntent_slots
=== CONT  TestAccAwsLexBotAlias_conversationLogsBoth
=== CONT  TestAccAwsLexSlotType_enumerationValues
=== CONT  TestAccAwsLexIntent_disappears
--- PASS: TestAccAwsLexIntent_disappears (68.59s)
=== CONT  TestAccAwsLexBotAlias_description
--- PASS: TestAccAwsLexSlotType_disappears (70.18s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsText
--- PASS: TestAccAwsLexBotAlias_disappears (76.37s)
=== CONT  TestAccAwsLexBot_idleSessionTtlInSeconds
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (108.30s)
=== CONT  TestAccAwsLexBot_intents
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (109.81s)
=== CONT  TestAccAwsLexIntent_followUpPrompt
--- PASS: TestAccAwsLexSlotType_createVersion (113.43s)
=== CONT  TestAccAwsLexIntent_fulfillmentActivity
--- PASS: TestAccAwsLexIntent_conclusionStatement (114.43s)
=== CONT  TestAccAwsLexIntent_dialogCodeHook
--- PASS: TestAccAwsLexIntent_computeVersion (116.90s)
=== CONT  TestAccAwsLexBot_clarificationPrompt
--- PASS: TestAccAwsLexSlotType_computeVersion (119.32s)
=== CONT  TestAccAwsLexBot_childDirected
--- PASS: TestAccAwsLexSlotType_description (121.80s)
=== CONT  TestAccAwsLexIntent_basic
--- PASS: TestAccAwsLexIntent_slots (122.73s)
=== CONT  TestAccAwsLexIntent_createVersion
--- PASS: TestAccAwsLexSlotType_enumerationValues (123.61s)
=== CONT  TestAccAwsLexBot_abortStatement
--- PASS: TestAccAwsLexIntent_sampleUtterances (125.36s)
=== CONT  TestAccAwsLexBot_disappears
--- PASS: TestAccAwsLexIntent_slotsCustom (127.35s)
=== CONT  TestAccAwsLexBot_enableModelImprovements
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (133.59s)
=== CONT  TestAccAwsLexBot_detectSentiment
--- PASS: TestAccAwsLexBot_description (135.92s)
=== CONT  TestAccAwsLexBot_voiceId
--- PASS: TestAccAwsLexBotAlias_basic (140.62s)
=== CONT  TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
--- PASS: TestAccAwsLexSlotType_basic (156.57s)
=== CONT  TestAccAwsLexBot_basic
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (95.49s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsAudio
--- PASS: TestAccAwsLexSlotType_name (172.79s)
--- PASS: TestAccAwsLexBot_locale (178.93s)
--- PASS: TestAccAwsLexBotAlias_description (126.35s)
--- PASS: TestAccAwsLexBot_disappears (73.27s)
--- PASS: TestAccAwsLexIntent_basic (78.60s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (127.59s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (102.85s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (112.47s)
--- PASS: TestAccAwsLexBot_basic (73.95s)
--- PASS: TestAccAwsLexIntent_followUpPrompt (126.28s)
--- PASS: TestAccAwsLexBot_intents (132.12s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (127.88s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (85.23s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (112.42s)
--- PASS: TestAccAwsLexIntent_createVersion (131.47s)
--- PASS: TestAccAwsLexBot_childDirected (137.59s)
--- PASS: TestAccAwsLexBot_abortStatement (133.90s)
--- PASS: TestAccAwsLexBot_voiceId (124.34s)
--- PASS: TestAccAwsLexBot_detectSentiment (130.60s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (138.48s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	517.049s

@github-actions github-actions bot added service/lexmodels Issues and PRs that pertain to the lexmodels service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/L Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. and removed tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/lexmodels Issues and PRs that pertain to the lexmodels service. labels Oct 1, 2021
@github-actions github-actions bot added service/lexmodels Issues and PRs that pertain to the lexmodels service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 1, 2021
@AdamTylerLynch AdamTylerLynch changed the title [WIP] Added proper status and waiter to Lex Bot. Fixed issues with import tests. Added proper status and waiter to Lex Bot. Fixed issues with import tests. Oct 1, 2021
@AdamTylerLynch
Copy link
Collaborator Author

Request Review.

@AdamTylerLynch AdamTylerLynch changed the title Added proper status and waiter to Lex Bot. Fixed issues with import tests. [WIP] Added proper status and waiter to Lex Bot. Fixed issues with import tests. Oct 1, 2021
@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 1, 2021
@AdamTylerLynch
Copy link
Collaborator Author

make testacc TESTARGS='-run=TestAccAwsLexBot'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsLexBot -timeout 180m
=== RUN TestAccAwsLexBotAlias_basic
=== PAUSE TestAccAwsLexBotAlias_basic
=== RUN TestAccAwsLexBotAlias_conversationLogsText
=== PAUSE TestAccAwsLexBotAlias_conversationLogsText
=== RUN TestAccAwsLexBotAlias_conversationLogsAudio
=== PAUSE TestAccAwsLexBotAlias_conversationLogsAudio
=== RUN TestAccAwsLexBotAlias_conversationLogsBoth
=== PAUSE TestAccAwsLexBotAlias_conversationLogsBoth
=== RUN TestAccAwsLexBotAlias_description
=== PAUSE TestAccAwsLexBotAlias_description
=== RUN TestAccAwsLexBotAlias_disappears
=== PAUSE TestAccAwsLexBotAlias_disappears
=== RUN TestAccAwsLexBot_basic
=== PAUSE TestAccAwsLexBot_basic
=== RUN TestAccAwsLexBot_version_serial
=== RUN TestAccAwsLexBot_version_serial/LexBot_createVersion
=== RUN TestAccAwsLexBot_version_serial/LexBotAlias_botVersion
=== RUN TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion
=== RUN TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic
--- PASS: TestAccAwsLexBot_version_serial (177.42s)
--- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (48.01s)
--- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (48.91s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (39.03s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (41.46s)
=== RUN TestAccAwsLexBot_abortStatement
=== PAUSE TestAccAwsLexBot_abortStatement
=== RUN TestAccAwsLexBot_clarificationPrompt
=== PAUSE TestAccAwsLexBot_clarificationPrompt
=== RUN TestAccAwsLexBot_childDirected
=== PAUSE TestAccAwsLexBot_childDirected
=== RUN TestAccAwsLexBot_description
=== PAUSE TestAccAwsLexBot_description
=== RUN TestAccAwsLexBot_detectSentiment
=== PAUSE TestAccAwsLexBot_detectSentiment
=== RUN TestAccAwsLexBot_enableModelImprovements
=== PAUSE TestAccAwsLexBot_enableModelImprovements
=== RUN TestAccAwsLexBot_idleSessionTtlInSeconds
=== PAUSE TestAccAwsLexBot_idleSessionTtlInSeconds
=== RUN TestAccAwsLexBot_intents
=== PAUSE TestAccAwsLexBot_intents
=== RUN TestAccAwsLexBot_computeVersion
--- PASS: TestAccAwsLexBot_computeVersion (76.90s)
=== RUN TestAccAwsLexBot_locale
=== PAUSE TestAccAwsLexBot_locale
=== RUN TestAccAwsLexBot_voiceId
=== PAUSE TestAccAwsLexBot_voiceId
=== RUN TestAccAwsLexBot_disappears
=== PAUSE TestAccAwsLexBot_disappears
=== CONT TestAccAwsLexBotAlias_basic
=== CONT TestAccAwsLexBot_description
=== CONT TestAccAwsLexBotAlias_disappears
=== CONT TestAccAwsLexBotAlias_conversationLogsBoth
=== CONT TestAccAwsLexBotAlias_conversationLogsAudio
=== CONT TestAccAwsLexBotAlias_description
=== CONT TestAccAwsLexBotAlias_conversationLogsText
=== CONT TestAccAwsLexBot_clarificationPrompt
=== CONT TestAccAwsLexBot_abortStatement
=== CONT TestAccAwsLexBot_basic
=== CONT TestAccAwsLexBot_intents
=== CONT TestAccAwsLexBot_enableModelImprovements
=== CONT TestAccAwsLexBot_childDirected
=== CONT TestAccAwsLexBot_idleSessionTtlInSeconds
=== CONT TestAccAwsLexBot_detectSentiment
=== CONT TestAccAwsLexBot_voiceId
=== CONT TestAccAwsLexBot_disappears
=== CONT TestAccAwsLexBot_locale
--- PASS: TestAccAwsLexBotAlias_disappears (52.22s)
--- PASS: TestAccAwsLexBot_basic (54.23s)
--- PASS: TestAccAwsLexBotAlias_basic (56.81s)
--- PASS: TestAccAwsLexBot_disappears (66.89s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (81.04s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (87.09s)
--- PASS: TestAccAwsLexBot_abortStatement (94.62s)
--- PASS: TestAccAwsLexBot_detectSentiment (96.40s)
--- PASS: TestAccAwsLexBotAlias_description (97.90s)
--- PASS: TestAccAwsLexBot_voiceId (100.12s)
--- PASS: TestAccAwsLexBot_locale (104.79s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (107.17s)
--- PASS: TestAccAwsLexBot_childDirected (109.18s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (111.07s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (118.17s)
--- PASS: TestAccAwsLexBot_intents (120.24s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (122.55s)
--- PASS: TestAccAwsLexBot_description (128.53s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 385.030s

@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Oct 1, 2021
@thornleyk
Copy link
Contributor

thornleyk commented Oct 2, 2021

also fixes #15555 and potentially #15605

@AdamTylerLynch
Copy link
Collaborator Author

make testacc TESTARGS='-run=TestAccAwsLex'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsLex -timeout 180m
=== RUN TestAccAwsLexBotAlias_basic
=== PAUSE TestAccAwsLexBotAlias_basic
=== RUN TestAccAwsLexBotAlias_conversationLogsText
=== PAUSE TestAccAwsLexBotAlias_conversationLogsText
=== RUN TestAccAwsLexBotAlias_conversationLogsAudio
=== PAUSE TestAccAwsLexBotAlias_conversationLogsAudio
=== RUN TestAccAwsLexBotAlias_conversationLogsBoth
=== PAUSE TestAccAwsLexBotAlias_conversationLogsBoth
=== RUN TestAccAwsLexBotAlias_description
=== PAUSE TestAccAwsLexBotAlias_description
=== RUN TestAccAwsLexBotAlias_disappears
=== PAUSE TestAccAwsLexBotAlias_disappears
=== RUN TestAccAwsLexBot_basic
=== PAUSE TestAccAwsLexBot_basic
=== RUN TestAccAwsLexBot_version_serial
=== RUN TestAccAwsLexBot_version_serial/LexBot_createVersion
=== RUN TestAccAwsLexBot_version_serial/LexBotAlias_botVersion
=== RUN TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion
=== RUN TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic
--- PASS: TestAccAwsLexBot_version_serial (165.49s)
--- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (45.15s)
--- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (44.46s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (36.79s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (39.10s)
=== RUN TestAccAwsLexBot_abortStatement
=== PAUSE TestAccAwsLexBot_abortStatement
=== RUN TestAccAwsLexBot_clarificationPrompt
=== PAUSE TestAccAwsLexBot_clarificationPrompt
=== RUN TestAccAwsLexBot_childDirected
=== PAUSE TestAccAwsLexBot_childDirected
=== RUN TestAccAwsLexBot_description
=== PAUSE TestAccAwsLexBot_description
=== RUN TestAccAwsLexBot_detectSentiment
=== PAUSE TestAccAwsLexBot_detectSentiment
=== RUN TestAccAwsLexBot_enableModelImprovements
=== PAUSE TestAccAwsLexBot_enableModelImprovements
=== RUN TestAccAwsLexBot_idleSessionTtlInSeconds
=== PAUSE TestAccAwsLexBot_idleSessionTtlInSeconds
=== RUN TestAccAwsLexBot_intents
=== PAUSE TestAccAwsLexBot_intents
=== RUN TestAccAwsLexBot_computeVersion
--- PASS: TestAccAwsLexBot_computeVersion (75.64s)
=== RUN TestAccAwsLexBot_locale
=== PAUSE TestAccAwsLexBot_locale
=== RUN TestAccAwsLexBot_voiceId
=== PAUSE TestAccAwsLexBot_voiceId
=== RUN TestAccAwsLexBot_disappears
=== PAUSE TestAccAwsLexBot_disappears
=== RUN TestAccAwsLexIntent_basic
=== PAUSE TestAccAwsLexIntent_basic
=== RUN TestAccAwsLexIntent_createVersion
=== PAUSE TestAccAwsLexIntent_createVersion
=== RUN TestAccAwsLexIntent_conclusionStatement
=== PAUSE TestAccAwsLexIntent_conclusionStatement
=== RUN TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== PAUSE TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== RUN TestAccAwsLexIntent_dialogCodeHook
=== PAUSE TestAccAwsLexIntent_dialogCodeHook
=== RUN TestAccAwsLexIntent_followUpPrompt
=== PAUSE TestAccAwsLexIntent_followUpPrompt
=== RUN TestAccAwsLexIntent_fulfillmentActivity
=== PAUSE TestAccAwsLexIntent_fulfillmentActivity
=== RUN TestAccAwsLexIntent_sampleUtterances
=== PAUSE TestAccAwsLexIntent_sampleUtterances
=== RUN TestAccAwsLexIntent_slots
=== PAUSE TestAccAwsLexIntent_slots
=== RUN TestAccAwsLexIntent_slotsCustom
=== PAUSE TestAccAwsLexIntent_slotsCustom
=== RUN TestAccAwsLexIntent_disappears
=== PAUSE TestAccAwsLexIntent_disappears
=== RUN TestAccAwsLexIntent_updateWithExternalChange
=== PAUSE TestAccAwsLexIntent_updateWithExternalChange
=== RUN TestAccAwsLexIntent_computeVersion
=== PAUSE TestAccAwsLexIntent_computeVersion
=== RUN TestAccAwsLexSlotType_basic
=== PAUSE TestAccAwsLexSlotType_basic
=== RUN TestAccAwsLexSlotType_createVersion
=== PAUSE TestAccAwsLexSlotType_createVersion
=== RUN TestAccAwsLexSlotType_description
=== PAUSE TestAccAwsLexSlotType_description
=== RUN TestAccAwsLexSlotType_enumerationValues
=== PAUSE TestAccAwsLexSlotType_enumerationValues
=== RUN TestAccAwsLexSlotType_name
=== PAUSE TestAccAwsLexSlotType_name
=== RUN TestAccAwsLexSlotType_valueSelectionStrategy
=== PAUSE TestAccAwsLexSlotType_valueSelectionStrategy
=== RUN TestAccAwsLexSlotType_disappears
=== PAUSE TestAccAwsLexSlotType_disappears
=== RUN TestAccAwsLexSlotType_computeVersion
=== PAUSE TestAccAwsLexSlotType_computeVersion
=== CONT TestAccAwsLexBotAlias_basic
=== CONT TestAccAwsLexIntent_conclusionStatement
=== CONT TestAccAwsLexIntent_computeVersion
=== CONT TestAccAwsLexBot_description
=== CONT TestAccAwsLexBot_abortStatement
=== CONT TestAccAwsLexSlotType_valueSelectionStrategy
=== CONT TestAccAwsLexBot_locale
=== CONT TestAccAwsLexIntent_createVersion
=== CONT TestAccAwsLexIntent_basic
=== CONT TestAccAwsLexBot_disappears
=== CONT TestAccAwsLexBotAlias_disappears
=== CONT TestAccAwsLexBot_childDirected
=== CONT TestAccAwsLexBot_clarificationPrompt
=== CONT TestAccAwsLexBot_voiceId
=== CONT TestAccAwsLexBot_basic
=== CONT TestAccAwsLexSlotType_computeVersion
=== CONT TestAccAwsLexSlotType_name
=== CONT TestAccAwsLexSlotType_description
=== CONT TestAccAwsLexSlotType_disappears
=== CONT TestAccAwsLexSlotType_enumerationValues
--- PASS: TestAccAwsLexIntent_basic (49.29s)
=== CONT TestAccAwsLexSlotType_createVersion
--- PASS: TestAccAwsLexSlotType_disappears (67.57s)
=== CONT TestAccAwsLexBotAlias_conversationLogsBoth
--- PASS: TestAccAwsLexBot_basic (68.53s)
=== CONT TestAccAwsLexBotAlias_description
--- PASS: TestAccAwsLexBot_disappears (85.74s)
=== CONT TestAccAwsLexBot_idleSessionTtlInSeconds
--- PASS: TestAccAwsLexBotAlias_disappears (123.92s)
=== CONT TestAccAwsLexBot_intents
--- PASS: TestAccAwsLexSlotType_computeVersion (128.28s)
=== CONT TestAccAwsLexBotAlias_conversationLogsAudio
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (129.54s)
=== CONT TestAccAwsLexBot_enableModelImprovements
--- PASS: TestAccAwsLexSlotType_description (132.55s)
=== CONT TestAccAwsLexSlotType_basic
--- PASS: TestAccAwsLexIntent_createVersion (133.79s)
=== CONT TestAccAwsLexBot_detectSentiment
--- PASS: TestAccAwsLexIntent_conclusionStatement (136.76s)
=== CONT TestAccAwsLexBotAlias_conversationLogsText
--- PASS: TestAccAwsLexSlotType_enumerationValues (139.65s)
=== CONT TestAccAwsLexIntent_sampleUtterances
--- PASS: TestAccAwsLexBot_abortStatement (145.16s)
=== CONT TestAccAwsLexIntent_updateWithExternalChange
--- PASS: TestAccAwsLexSlotType_name (146.00s)
=== CONT TestAccAwsLexIntent_disappears
--- PASS: TestAccAwsLexBot_clarificationPrompt (146.51s)
=== CONT TestAccAwsLexIntent_slotsCustom
--- PASS: TestAccAwsLexBot_childDirected (147.71s)
=== CONT TestAccAwsLexIntent_slots
--- PASS: TestAccAwsLexBot_description (150.74s)
=== CONT TestAccAwsLexIntent_followUpPrompt
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (108.41s)
=== CONT TestAccAwsLexIntent_fulfillmentActivity
--- PASS: TestAccAwsLexBotAlias_basic (177.65s)
=== CONT TestAccAwsLexIntent_dialogCodeHook
--- PASS: TestAccAwsLexBot_voiceId (178.45s)
=== CONT TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
--- PASS: TestAccAwsLexIntent_computeVersion (181.22s)
--- PASS: TestAccAwsLexBot_locale (185.47s)
--- PASS: TestAccAwsLexSlotType_createVersion (149.40s)
--- PASS: TestAccAwsLexIntent_disappears (57.11s)
--- PASS: TestAccAwsLexSlotType_basic (71.22s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (91.56s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (140.03s)
--- PASS: TestAccAwsLexIntent_slotsCustom (81.65s)
--- PASS: TestAccAwsLexBotAlias_description (165.72s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (110.54s)
--- PASS: TestAccAwsLexIntent_followUpPrompt (102.48s)
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (108.66s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (80.15s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (80.93s)
--- PASS: TestAccAwsLexBot_detectSentiment (128.11s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (134.90s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (88.39s)
--- PASS: TestAccAwsLexIntent_slots (122.96s)
--- PASS: TestAccAwsLexBot_intents (150.75s)
--- PASS: TestAccAwsLexIntent_sampleUtterances (141.37s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 524.147s

@AdamTylerLynch AdamTylerLynch changed the title [WIP] Added proper status and waiter to Lex Bot. Fixed issues with import tests. Added proper status and waiter to Lex Bot. Fixed issues with import tests. Oct 2, 2021
@ewbankkit ewbankkit self-assigned this Oct 4, 2021
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. and removed size/L Managed by automation to categorize the size of a PR. labels Oct 5, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccAwsLex' ACCTEST_PARALLELISM=5        
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 5 -run=TestAccAwsLex -timeout 180m
=== RUN   TestAccAwsLexBotAlias_basic
=== PAUSE TestAccAwsLexBotAlias_basic
=== RUN   TestAccAwsLexBotAlias_conversationLogsText
=== PAUSE TestAccAwsLexBotAlias_conversationLogsText
=== RUN   TestAccAwsLexBotAlias_conversationLogsAudio
=== PAUSE TestAccAwsLexBotAlias_conversationLogsAudio
=== RUN   TestAccAwsLexBotAlias_conversationLogsBoth
=== PAUSE TestAccAwsLexBotAlias_conversationLogsBoth
=== RUN   TestAccAwsLexBotAlias_description
=== PAUSE TestAccAwsLexBotAlias_description
=== RUN   TestAccAwsLexBotAlias_disappears
=== PAUSE TestAccAwsLexBotAlias_disappears
=== RUN   TestAccAwsLexBot_basic
=== PAUSE TestAccAwsLexBot_basic
=== RUN   TestAccAwsLexBot_version_serial
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic
=== RUN   TestAccAwsLexBot_version_serial/LexBot_createVersion
=== RUN   TestAccAwsLexBot_version_serial/LexBotAlias_botVersion
--- PASS: TestAccAwsLexBot_version_serial (144.93s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (33.01s)
    --- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (34.85s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBot_createVersion (36.66s)
    --- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (40.42s)
=== RUN   TestAccAwsLexBot_abortStatement
=== PAUSE TestAccAwsLexBot_abortStatement
=== RUN   TestAccAwsLexBot_clarificationPrompt
=== PAUSE TestAccAwsLexBot_clarificationPrompt
=== RUN   TestAccAwsLexBot_childDirected
=== PAUSE TestAccAwsLexBot_childDirected
=== RUN   TestAccAwsLexBot_description
=== PAUSE TestAccAwsLexBot_description
=== RUN   TestAccAwsLexBot_detectSentiment
=== PAUSE TestAccAwsLexBot_detectSentiment
=== RUN   TestAccAwsLexBot_enableModelImprovements
=== PAUSE TestAccAwsLexBot_enableModelImprovements
=== RUN   TestAccAwsLexBot_idleSessionTtlInSeconds
=== PAUSE TestAccAwsLexBot_idleSessionTtlInSeconds
=== RUN   TestAccAwsLexBot_intents
=== PAUSE TestAccAwsLexBot_intents
=== RUN   TestAccAwsLexBot_computeVersion
--- PASS: TestAccAwsLexBot_computeVersion (78.06s)
=== RUN   TestAccAwsLexBot_locale
=== PAUSE TestAccAwsLexBot_locale
=== RUN   TestAccAwsLexBot_voiceId
=== PAUSE TestAccAwsLexBot_voiceId
=== RUN   TestAccAwsLexBot_disappears
=== PAUSE TestAccAwsLexBot_disappears
=== RUN   TestAccAwsLexIntent_basic
=== PAUSE TestAccAwsLexIntent_basic
=== RUN   TestAccAwsLexIntent_createVersion
=== PAUSE TestAccAwsLexIntent_createVersion
=== RUN   TestAccAwsLexIntent_conclusionStatement
=== PAUSE TestAccAwsLexIntent_conclusionStatement
=== RUN   TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== PAUSE TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== RUN   TestAccAwsLexIntent_dialogCodeHook
=== PAUSE TestAccAwsLexIntent_dialogCodeHook
=== RUN   TestAccAwsLexIntent_followUpPrompt
=== PAUSE TestAccAwsLexIntent_followUpPrompt
=== RUN   TestAccAwsLexIntent_fulfillmentActivity
=== PAUSE TestAccAwsLexIntent_fulfillmentActivity
=== RUN   TestAccAwsLexIntent_sampleUtterances
=== PAUSE TestAccAwsLexIntent_sampleUtterances
=== RUN   TestAccAwsLexIntent_slots
=== PAUSE TestAccAwsLexIntent_slots
=== RUN   TestAccAwsLexIntent_slotsCustom
=== PAUSE TestAccAwsLexIntent_slotsCustom
=== RUN   TestAccAwsLexIntent_disappears
=== PAUSE TestAccAwsLexIntent_disappears
=== RUN   TestAccAwsLexIntent_updateWithExternalChange
=== PAUSE TestAccAwsLexIntent_updateWithExternalChange
=== RUN   TestAccAwsLexIntent_computeVersion
=== PAUSE TestAccAwsLexIntent_computeVersion
=== RUN   TestAccAwsLexSlotType_basic
=== PAUSE TestAccAwsLexSlotType_basic
=== RUN   TestAccAwsLexSlotType_createVersion
=== PAUSE TestAccAwsLexSlotType_createVersion
=== RUN   TestAccAwsLexSlotType_description
=== PAUSE TestAccAwsLexSlotType_description
=== RUN   TestAccAwsLexSlotType_enumerationValues
=== PAUSE TestAccAwsLexSlotType_enumerationValues
=== RUN   TestAccAwsLexSlotType_name
=== PAUSE TestAccAwsLexSlotType_name
=== RUN   TestAccAwsLexSlotType_valueSelectionStrategy
=== PAUSE TestAccAwsLexSlotType_valueSelectionStrategy
=== RUN   TestAccAwsLexSlotType_disappears
=== PAUSE TestAccAwsLexSlotType_disappears
=== RUN   TestAccAwsLexSlotType_computeVersion
=== PAUSE TestAccAwsLexSlotType_computeVersion
=== CONT  TestAccAwsLexIntent_updateWithExternalChange
=== CONT  TestAccAwsLexBotAlias_basic
=== CONT  TestAccAwsLexSlotType_name
=== CONT  TestAccAwsLexSlotType_computeVersion
=== CONT  TestAccAwsLexSlotType_createVersion
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (38.08s)
=== CONT  TestAccAwsLexSlotType_enumerationValues
--- PASS: TestAccAwsLexBotAlias_basic (42.52s)
=== CONT  TestAccAwsLexSlotType_description
--- PASS: TestAccAwsLexSlotType_createVersion (43.94s)
=== CONT  TestAccAwsLexBot_locale
--- PASS: TestAccAwsLexSlotType_computeVersion (46.56s)
=== CONT  TestAccAwsLexIntent_disappears
--- PASS: TestAccAwsLexSlotType_name (49.84s)
=== CONT  TestAccAwsLexIntent_slotsCustom
--- PASS: TestAccAwsLexIntent_disappears (14.59s)
=== CONT  TestAccAwsLexIntent_slots
--- PASS: TestAccAwsLexIntent_slotsCustom (23.79s)
=== CONT  TestAccAwsLexIntent_sampleUtterances
--- PASS: TestAccAwsLexSlotType_description (39.00s)
=== CONT  TestAccAwsLexIntent_fulfillmentActivity
--- PASS: TestAccAwsLexSlotType_enumerationValues (44.22s)
=== CONT  TestAccAwsLexIntent_followUpPrompt
--- PASS: TestAccAwsLexBot_locale (48.58s)
=== CONT  TestAccAwsLexIntent_dialogCodeHook
--- PASS: TestAccAwsLexIntent_slots (37.89s)
=== CONT  TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
--- PASS: TestAccAwsLexIntent_sampleUtterances (37.34s)
=== CONT  TestAccAwsLexIntent_conclusionStatement
--- PASS: TestAccAwsLexIntent_followUpPrompt (33.15s)
=== CONT  TestAccAwsLexIntent_createVersion
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (39.76s)
=== CONT  TestAccAwsLexIntent_basic
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (30.23s)
=== CONT  TestAccAwsLexBot_disappears
--- PASS: TestAccAwsLexIntent_dialogCodeHook (40.25s)
=== CONT  TestAccAwsLexBot_voiceId
--- PASS: TestAccAwsLexIntent_basic (20.89s)
=== CONT  TestAccAwsLexBot_clarificationPrompt
--- PASS: TestAccAwsLexIntent_conclusionStatement (32.23s)
=== CONT  TestAccAwsLexBot_intents
--- PASS: TestAccAwsLexIntent_createVersion (37.38s)
=== CONT  TestAccAwsLexBot_idleSessionTtlInSeconds
--- PASS: TestAccAwsLexBot_disappears (27.75s)
=== CONT  TestAccAwsLexBot_enableModelImprovements
--- PASS: TestAccAwsLexBot_voiceId (43.14s)
=== CONT  TestAccAwsLexBot_childDirected
--- PASS: TestAccAwsLexBot_clarificationPrompt (45.33s)
=== CONT  TestAccAwsLexBotAlias_description
--- PASS: TestAccAwsLexBot_intents (48.17s)
=== CONT  TestAccAwsLexBot_description
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (42.22s)
=== CONT  TestAccAwsLexBot_abortStatement
--- PASS: TestAccAwsLexBot_enableModelImprovements (45.24s)
=== CONT  TestAccAwsLexBot_basic
--- PASS: TestAccAwsLexBot_childDirected (45.27s)
=== CONT  TestAccAwsLexBot_detectSentiment
--- PASS: TestAccAwsLexBot_basic (24.25s)
=== CONT  TestAccAwsLexBotAlias_disappears
--- PASS: TestAccAwsLexBotAlias_description (47.59s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsAudio
--- PASS: TestAccAwsLexBot_description (53.76s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsBoth
--- PASS: TestAccAwsLexBot_abortStatement (55.02s)
=== CONT  TestAccAwsLexSlotType_disappears
--- PASS: TestAccAwsLexBotAlias_disappears (31.69s)
=== CONT  TestAccAwsLexSlotType_valueSelectionStrategy
--- PASS: TestAccAwsLexBot_detectSentiment (40.83s)
=== CONT  TestAccAwsLexSlotType_basic
--- PASS: TestAccAwsLexSlotType_disappears (14.99s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsText
--- PASS: TestAccAwsLexBotAlias_conversationLogsAudio (40.45s)
=== CONT  TestAccAwsLexIntent_computeVersion
--- PASS: TestAccAwsLexSlotType_basic (29.25s)
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (34.01s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsBoth (50.21s)
--- PASS: TestAccAwsLexBotAlias_conversationLogsText (40.34s)
--- PASS: TestAccAwsLexIntent_computeVersion (74.16s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	533.454s
GovCloud
% make testacc TESTARGS='-run=TestAccAwsLex' ACCTEST_PARALLELISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 5 -run=TestAccAwsLex -timeout 180m
=== RUN   TestAccAwsLexBotAlias_basic
=== PAUSE TestAccAwsLexBotAlias_basic
=== RUN   TestAccAwsLexBotAlias_conversationLogsText
=== PAUSE TestAccAwsLexBotAlias_conversationLogsText
=== RUN   TestAccAwsLexBotAlias_conversationLogsAudio
=== PAUSE TestAccAwsLexBotAlias_conversationLogsAudio
=== RUN   TestAccAwsLexBotAlias_conversationLogsBoth
=== PAUSE TestAccAwsLexBotAlias_conversationLogsBoth
=== RUN   TestAccAwsLexBotAlias_description
=== PAUSE TestAccAwsLexBotAlias_description
=== RUN   TestAccAwsLexBotAlias_disappears
=== PAUSE TestAccAwsLexBotAlias_disappears
=== RUN   TestAccAwsLexBot_basic
=== PAUSE TestAccAwsLexBot_basic
=== RUN   TestAccAwsLexBot_version_serial
=== RUN   TestAccAwsLexBot_version_serial/LexBot_createVersion
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_sqfjevxu): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== RUN   TestAccAwsLexBot_version_serial/LexBotAlias_botVersion
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_aliasysltphek): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (mibdvnov): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== RUN   TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (eeyioxbq): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- PASS: TestAccAwsLexBot_version_serial (40.36s)
    --- SKIP: TestAccAwsLexBot_version_serial/LexBot_createVersion (10.95s)
    --- SKIP: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (9.55s)
    --- SKIP: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (10.60s)
    --- SKIP: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (9.26s)
=== RUN   TestAccAwsLexBot_abortStatement
=== PAUSE TestAccAwsLexBot_abortStatement
=== RUN   TestAccAwsLexBot_clarificationPrompt
=== PAUSE TestAccAwsLexBot_clarificationPrompt
=== RUN   TestAccAwsLexBot_childDirected
=== PAUSE TestAccAwsLexBot_childDirected
=== RUN   TestAccAwsLexBot_description
=== PAUSE TestAccAwsLexBot_description
=== RUN   TestAccAwsLexBot_detectSentiment
=== PAUSE TestAccAwsLexBot_detectSentiment
=== RUN   TestAccAwsLexBot_enableModelImprovements
=== PAUSE TestAccAwsLexBot_enableModelImprovements
=== RUN   TestAccAwsLexBot_idleSessionTtlInSeconds
=== PAUSE TestAccAwsLexBot_idleSessionTtlInSeconds
=== RUN   TestAccAwsLexBot_intents
=== PAUSE TestAccAwsLexBot_intents
=== RUN   TestAccAwsLexBot_computeVersion
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_ldmahidw): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 2, in resource "aws_lex_bot" "test":
           2: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_computeVersion (10.32s)
=== RUN   TestAccAwsLexBot_locale
=== PAUSE TestAccAwsLexBot_locale
=== RUN   TestAccAwsLexBot_voiceId
=== PAUSE TestAccAwsLexBot_voiceId
=== RUN   TestAccAwsLexBot_disappears
=== PAUSE TestAccAwsLexBot_disappears
=== RUN   TestAccAwsLexIntent_basic
=== PAUSE TestAccAwsLexIntent_basic
=== RUN   TestAccAwsLexIntent_createVersion
=== PAUSE TestAccAwsLexIntent_createVersion
=== RUN   TestAccAwsLexIntent_conclusionStatement
=== PAUSE TestAccAwsLexIntent_conclusionStatement
=== RUN   TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== PAUSE TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
=== RUN   TestAccAwsLexIntent_dialogCodeHook
=== PAUSE TestAccAwsLexIntent_dialogCodeHook
=== RUN   TestAccAwsLexIntent_followUpPrompt
=== PAUSE TestAccAwsLexIntent_followUpPrompt
=== RUN   TestAccAwsLexIntent_fulfillmentActivity
=== PAUSE TestAccAwsLexIntent_fulfillmentActivity
=== RUN   TestAccAwsLexIntent_sampleUtterances
=== PAUSE TestAccAwsLexIntent_sampleUtterances
=== RUN   TestAccAwsLexIntent_slots
=== PAUSE TestAccAwsLexIntent_slots
=== RUN   TestAccAwsLexIntent_slotsCustom
=== PAUSE TestAccAwsLexIntent_slotsCustom
=== RUN   TestAccAwsLexIntent_disappears
=== PAUSE TestAccAwsLexIntent_disappears
=== RUN   TestAccAwsLexIntent_updateWithExternalChange
=== PAUSE TestAccAwsLexIntent_updateWithExternalChange
=== RUN   TestAccAwsLexIntent_computeVersion
=== PAUSE TestAccAwsLexIntent_computeVersion
=== RUN   TestAccAwsLexSlotType_basic
=== PAUSE TestAccAwsLexSlotType_basic
=== RUN   TestAccAwsLexSlotType_createVersion
=== PAUSE TestAccAwsLexSlotType_createVersion
=== RUN   TestAccAwsLexSlotType_description
=== PAUSE TestAccAwsLexSlotType_description
=== RUN   TestAccAwsLexSlotType_enumerationValues
=== PAUSE TestAccAwsLexSlotType_enumerationValues
=== RUN   TestAccAwsLexSlotType_name
=== PAUSE TestAccAwsLexSlotType_name
=== RUN   TestAccAwsLexSlotType_valueSelectionStrategy
=== PAUSE TestAccAwsLexSlotType_valueSelectionStrategy
=== RUN   TestAccAwsLexSlotType_disappears
=== PAUSE TestAccAwsLexSlotType_disappears
=== RUN   TestAccAwsLexSlotType_computeVersion
=== PAUSE TestAccAwsLexSlotType_computeVersion
=== CONT  TestAccAwsLexBotAlias_basic
=== CONT  TestAccAwsLexIntent_conclusionStatement
=== CONT  TestAccAwsLexBot_description
=== CONT  TestAccAwsLexIntent_computeVersion
=== CONT  TestAccAwsLexSlotType_enumerationValues
=== CONT  TestAccAwsLexBot_description
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_feysmgsj): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexIntent_computeVersion
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_intent_clcnhfam): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 10, in resource "aws_lex_bot" "test":
          10: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexBotAlias_basic
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_aliashlfwozll): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexIntent_computeVersion (12.18s)
=== CONT  TestAccAwsLexSlotType_description
--- SKIP: TestAccAwsLexBotAlias_basic (13.05s)
=== CONT  TestAccAwsLexSlotType_createVersion
--- SKIP: TestAccAwsLexBot_description (14.15s)
=== CONT  TestAccAwsLexSlotType_name
--- PASS: TestAccAwsLexSlotType_enumerationValues (42.98s)
=== CONT  TestAccAwsLexSlotType_computeVersion
--- PASS: TestAccAwsLexIntent_conclusionStatement (44.08s)
=== CONT  TestAccAwsLexSlotType_disappears
--- PASS: TestAccAwsLexSlotType_description (41.89s)
=== CONT  TestAccAwsLexSlotType_valueSelectionStrategy
--- PASS: TestAccAwsLexSlotType_name (42.84s)
=== CONT  TestAccAwsLexBot_locale
--- PASS: TestAccAwsLexSlotType_disappears (16.98s)
=== CONT  TestAccAwsLexIntent_createVersion
--- PASS: TestAccAwsLexSlotType_createVersion (48.66s)
=== CONT  TestAccAwsLexIntent_basic
=== CONT  TestAccAwsLexBot_locale
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_licdswpz): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_locale (9.40s)
=== CONT  TestAccAwsLexBot_disappears
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_hshieijk): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_disappears (9.47s)
=== CONT  TestAccAwsLexBot_voiceId
--- PASS: TestAccAwsLexIntent_basic (19.29s)
=== CONT  TestAccAwsLexSlotType_basic
=== CONT  TestAccAwsLexBot_voiceId
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_wfajgwmb): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_voiceId (10.38s)
=== CONT  TestAccAwsLexBotAlias_disappears
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (35.72s)
=== CONT  TestAccAwsLexBot_childDirected
=== CONT  TestAccAwsLexBotAlias_disappears
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_aliassghlrqvr): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- PASS: TestAccAwsLexSlotType_computeVersion (55.16s)
=== CONT  TestAccAwsLexBot_intents
=== CONT  TestAccAwsLexBot_childDirected
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_vsvvaryf): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBotAlias_disappears (14.46s)
=== CONT  TestAccAwsLexBot_clarificationPrompt
--- PASS: TestAccAwsLexIntent_createVersion (40.88s)
=== CONT  TestAccAwsLexIntent_sampleUtterances
--- SKIP: TestAccAwsLexBot_childDirected (13.21s)
=== CONT  TestAccAwsLexIntent_updateWithExternalChange
--- PASS: TestAccAwsLexSlotType_basic (23.59s)
=== CONT  TestAccAwsLexIntent_disappears
=== CONT  TestAccAwsLexBot_intents
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_utqlfscw): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 24, in resource "aws_lex_bot" "test":
          24: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexBot_clarificationPrompt
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_tpxfeqbv): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_intents (12.31s)
=== CONT  TestAccAwsLexIntent_slotsCustom
--- SKIP: TestAccAwsLexBot_clarificationPrompt (10.83s)
=== CONT  TestAccAwsLexBot_abortStatement
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_oovnaxdc): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- PASS: TestAccAwsLexIntent_disappears (16.51s)
=== CONT  TestAccAwsLexIntent_slots
--- SKIP: TestAccAwsLexBot_abortStatement (9.80s)
=== CONT  TestAccAwsLexBot_basic
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_ktsppstc): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_basic (11.72s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsBoth
--- PASS: TestAccAwsLexIntent_slotsCustom (25.02s)
=== CONT  TestAccAwsLexBot_idleSessionTtlInSeconds
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (34.04s)
=== CONT  TestAccAwsLexIntent_followUpPrompt
--- PASS: TestAccAwsLexIntent_sampleUtterances (36.55s)
=== CONT  TestAccAwsLexBotAlias_description
=== CONT  TestAccAwsLexBot_idleSessionTtlInSeconds
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_tvgdevho): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexBotAlias_description
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_aliasaakfmoih): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexBotAlias_conversationLogsBoth
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_mzjniozt): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_idleSessionTtlInSeconds (11.72s)
=== CONT  TestAccAwsLexIntent_fulfillmentActivity
--- SKIP: TestAccAwsLexBotAlias_conversationLogsBoth (16.85s)
=== CONT  TestAccAwsLexIntent_dialogCodeHook
--- SKIP: TestAccAwsLexBotAlias_description (11.91s)
=== CONT  TestAccAwsLexIntent_confirmationPromptAndRejectionStatement
--- PASS: TestAccAwsLexIntent_slots (38.42s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsAudio
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_ptojaemk): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- PASS: TestAccAwsLexIntent_followUpPrompt (36.51s)
=== CONT  TestAccAwsLexBotAlias_conversationLogsText
--- SKIP: TestAccAwsLexBotAlias_conversationLogsAudio (16.93s)
=== CONT  TestAccAwsLexBot_enableModelImprovements
=== CONT  TestAccAwsLexBotAlias_conversationLogsText
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_udqysisl): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
=== CONT  TestAccAwsLexBot_enableModelImprovements
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_wsjoljlh): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (37.32s)
=== CONT  TestAccAwsLexBot_detectSentiment
--- SKIP: TestAccAwsLexBotAlias_conversationLogsText (11.96s)
--- SKIP: TestAccAwsLexBot_enableModelImprovements (10.81s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (38.23s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (41.32s)
=== CONT  TestAccAwsLexBot_detectSentiment
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating Lex Bot (test_bot_cajzondv): BadRequestException: You can't set the enableModelImprovements field to false in us-gov-west-1. Either remove enableModelImprovements from your request or set it to true, then try your request again
        
          with aws_lex_bot.test,
          on terraform_plugin_test.tf line 13, in resource "aws_lex_bot" "test":
          13: resource "aws_lex_bot" "test" {
        
--- SKIP: TestAccAwsLexBot_detectSentiment (9.22s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	248.956s

@ewbankkit
Copy link
Contributor

@AdamTylerLynch Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 06820cc into hashicorp:main Oct 5, 2021
@github-actions github-actions bot added this to the v3.62.0 milestone Oct 5, 2021
@github-actions
Copy link

github-actions bot commented Oct 8, 2021

This functionality has been released in v3.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2022
@justinretzolk justinretzolk added the partner Contribution from a partner. label May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. partner Contribution from a partner. service/lexmodels Issues and PRs that pertain to the lexmodels service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
5 participants