-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_lex_bot, r/aws_lex_intent and r/aws_lex_slot_type: Fix computed behaviour for versions #20336
r/aws_lex_bot, r/aws_lex_intent and r/aws_lex_slot_type: Fix computed behaviour for versions #20336
Conversation
I'm affected by this exact issue as described in the associated defect. This problem is also very similar to a problem the provider previously had with how 'aws_lambda_function' and 'aws_lambda_alias' behaved - #13099 that had @bflad approved and merged the fix for. Any chance we could have this looked at and merged? Regards, Neto |
Seeing a AccTest that has been failing prior to these changes. make testacc TESTARGS='-run=TestAccAwsLex'
=== RUN TestAccAwsLexBot_version_serial/LexBotAlias_botVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @farhanangullia , thank you for the fix 🚀
Output of LexBot_computeVersion
test without fix:
=== RUN TestAccAwsLexBot_computeVersion
resource_aws_lex_bot_test.go:573: Step 2/2 error: Check failed: 1 error occurred:
* Check 6/8 error: aws_lex_bot_alias.test: Attribute 'bot_version' expected "2", got "1"
--- FAIL: TestAccAwsLexBot_computeVersion (65.48s)
Output of acceptance tests with fix:
--- FAIL: TestAccAwsLexBot_version_serial (881.63s)
--- PASS: TestAccAwsLexBot_version_serial/LexBotAlias_botVersion (781.22s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBot_withVersion (32.86s)
--- PASS: TestAccAwsLexBot_version_serial/DataSourceLexBotAlias_basic (34.47s)
--- FAIL: TestAccAwsLexBot_version_serial/LexBot_createVersion (33.08s)
--- PASS: TestAccAwsLexBot_disappears (101.57s)
--- PASS: TestAccAwsLexBot_basic (120.35s)
--- PASS: TestAccAwsLexBot_description (238.50s)
--- PASS: TestAccAwsLexBot_abortStatement (250.11s)
--- PASS: TestAccAwsLexBot_childDirected (259.81s)
--- PASS: TestAccAwsLexBot_idleSessionTtlInSeconds (263.26s)
--- PASS: TestAccAwsLexBot_detectSentiment (300.42s)
--- PASS: TestAccAwsLexBot_intents (301.41s)
--- PASS: TestAccAwsLexBot_locale (305.04s)
--- PASS: TestAccAwsLexBot_clarificationPrompt (305.95s)
--- PASS: TestAccAwsLexBot_voiceId (308.49s)
--- PASS: TestAccAwsLexBot_enableModelImprovements (311.38s)
--- PASS: TestAccAwsLexIntent_disappears (82.45s)
--- PASS: TestAccAwsLexIntent_slotsCustom (135.87s)
--- PASS: TestAccAwsLexIntent_basic (154.85s)
--- PASS: TestAccAwsLexIntent_updateWithExternalChange (202.52s)
--- PASS: TestAccAwsLexIntent_confirmationPromptAndRejectionStatement (1952.44s)
--- PASS: TestAccAwsLexIntent_conclusionStatement (1954.12s)
--- PASS: TestAccAwsLexIntent_sampleUtterances (2004.32s)
--- PASS: TestAccAwsLexIntent_slots (2027.01s)
--- PASS: TestAccAwsLexIntent_dialogCodeHook (2114.70s)
--- PASS: TestAccAwsLexIntent_createVersion (2163.81s)
--- PASS: TestAccAwsLexIntent_fulfillmentActivity (2177.76s)
--- PASS: TestAccAwsLexIntent_computeVersion (2205.51s)
--- PASS: TestAccAwsLexSlotType_disappears (19.00s)
--- PASS: TestAccAwsLexSlotType_basic (26.85s)
--- PASS: TestAccAwsLexSlotType_name (48.06s)
--- PASS: TestAccAwsLexSlotType_description (48.93s)
--- PASS: TestAccAwsLexSlotType_computeVersion (51.75s)
--- PASS: TestAccAwsLexSlotType_enumerationValues (52.68s)
--- PASS: TestAccAwsLexSlotType_valueSelectionStrategy (57.05s)
--- PASS: TestAccAwsLexSlotType_createVersion (65.53s)
LextBot failure related to #15555
This functionality has been released in v3.52.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! |
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. |
Community Note
Closes #16584
Affected Resource(s)
Output from acceptance testing for resource/aws_lex_bot:
Output from acceptance testing for resource/aws_lex_intent:
Output from acceptance testing for resource/aws_lex_slot_type: