-
Notifications
You must be signed in to change notification settings - Fork 9.6k
r/aws_lexv2models_intent: prompt specification defaults #43147
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_lexv2models_intent: prompt specification defaults #43147
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
% go test -count=1 -v ./internal/service/lexv2models/... -run=TestArePromptAttemptsEqual
2025/06/24 17:20:58 Creating Terraform AWS Provider (SDKv2-style)...
2025/06/24 17:20:58 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestArePromptAttemptsEqual (0.01s)
--- PASS: TestArePromptAttemptsEqual/old_values_of_null (0.00s)
--- PASS: TestArePromptAttemptsEqual/new_value_without_default (0.00s)
--- PASS: TestArePromptAttemptsEqual/new_value_with_specified_default (0.00s)
--- PASS: TestArePromptAttemptsEqual/old_values_of_null#01 (0.00s)
--- PASS: TestArePromptAttemptsEqual/new_values_of_null (0.00s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexv2models 5.721s |
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 🎉
% make testacc PKG=lexv2models TESTS=TestAccLexV2ModelsIntent_
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.4 test ./internal/service/lexv2models/... -v -count 1 -parallel 20 -run='TestAccLexV2ModelsIntent_' -timeout 360m -vet=off
2025/06/26 11:01:11 Creating Terraform AWS Provider (SDKv2-style)...
2025/06/26 11:01:11 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccLexV2ModelsIntent_disappears (47.19s)
--- PASS: TestAccLexV2ModelsIntent_basic (53.79s)
--- PASS: TestAccLexV2ModelsIntent_updateInputContext (61.21s)
--- PASS: TestAccLexV2ModelsIntent_updateClosingSetting (64.70s)
--- PASS: TestAccLexV2ModelsIntent_updateFulfillmentCodeHook (64.73s)
--- PASS: TestAccLexV2ModelsIntent_updateSampleUtterance (66.24s)
--- PASS: TestAccLexV2ModelsIntent_updateConfirmationSetting (67.15s)
--- PASS: TestAccLexV2ModelsIntent_updateDialogCodeHook (69.46s)
--- PASS: TestAccLexV2ModelsIntent_confirmationSetting_promptSpecifications_defaults (70.35s)
--- PASS: TestAccLexV2ModelsIntent_updateOutputContext (70.55s)
--- PASS: TestAccLexV2ModelsIntent_updateInitialResponseSetting (73.95s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexv2models 79.811s
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v6.1.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! |
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
confirmation_settings.prompt_specification.prompt_attempt_specifications
can have default values that cause diffs if not present in the configuration.This change will check for defaults and checks that they are semantically equal.
Relations
Closes #35346
References
Relates hashicorp/terraform-plugin-framework#1074
Output from Acceptance Testing
after