-
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_slot_type: numeric version comparison for slot type #21509
Conversation
@ewbankkit versioning in question |
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 🚀.
Commercial
% make testacc TESTARGS='-run=TestAccLexModelBuildingSlotTypeDataSource_' PKG_NAME=internal/service/lexmodelbuilding
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lexmodelbuilding/... -v -count 1 -parallel 20 -run=TestAccLexModelBuildingSlotTypeDataSource_ -timeout 180m
=== RUN TestAccLexModelBuildingSlotTypeDataSource_basic
=== PAUSE TestAccLexModelBuildingSlotTypeDataSource_basic
=== RUN TestAccLexModelBuildingSlotTypeDataSource_withVersion
=== PAUSE TestAccLexModelBuildingSlotTypeDataSource_withVersion
=== CONT TestAccLexModelBuildingSlotTypeDataSource_basic
=== CONT TestAccLexModelBuildingSlotTypeDataSource_withVersion
--- PASS: TestAccLexModelBuildingSlotTypeDataSource_basic (16.20s)
--- PASS: TestAccLexModelBuildingSlotTypeDataSource_withVersion (17.12s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexmodelbuilding 20.122s
% make testacc TESTARGS='-run=TestAccLexModelBuildingSlotType_' PKG_NAME=internal/service/lexmodelbuilding
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lexmodelbuilding/... -v -count 1 -parallel 20 -run=TestAccLexModelBuildingSlotType_ -timeout 180m
=== RUN TestAccLexModelBuildingSlotType_basic
=== PAUSE TestAccLexModelBuildingSlotType_basic
=== RUN TestAccLexModelBuildingSlotType_createVersion
=== PAUSE TestAccLexModelBuildingSlotType_createVersion
=== RUN TestAccLexModelBuildingSlotType_description
=== PAUSE TestAccLexModelBuildingSlotType_description
=== RUN TestAccLexModelBuildingSlotType_enumerationValues
=== PAUSE TestAccLexModelBuildingSlotType_enumerationValues
=== RUN TestAccLexModelBuildingSlotType_name
=== PAUSE TestAccLexModelBuildingSlotType_name
=== RUN TestAccLexModelBuildingSlotType_valueSelectionStrategy
=== PAUSE TestAccLexModelBuildingSlotType_valueSelectionStrategy
=== RUN TestAccLexModelBuildingSlotType_disappears
=== PAUSE TestAccLexModelBuildingSlotType_disappears
=== RUN TestAccLexModelBuildingSlotType_computeVersion
=== PAUSE TestAccLexModelBuildingSlotType_computeVersion
=== CONT TestAccLexModelBuildingSlotType_basic
=== CONT TestAccLexModelBuildingSlotType_valueSelectionStrategy
=== CONT TestAccLexModelBuildingSlotType_computeVersion
=== CONT TestAccLexModelBuildingSlotType_disappears
=== CONT TestAccLexModelBuildingSlotType_enumerationValues
=== CONT TestAccLexModelBuildingSlotType_description
=== CONT TestAccLexModelBuildingSlotType_name
=== CONT TestAccLexModelBuildingSlotType_createVersion
--- PASS: TestAccLexModelBuildingSlotType_disappears (20.06s)
--- PASS: TestAccLexModelBuildingSlotType_basic (26.05s)
--- PASS: TestAccLexModelBuildingSlotType_computeVersion (46.48s)
--- PASS: TestAccLexModelBuildingSlotType_enumerationValues (49.42s)
--- PASS: TestAccLexModelBuildingSlotType_description (50.61s)
--- PASS: TestAccLexModelBuildingSlotType_createVersion (52.09s)
--- PASS: TestAccLexModelBuildingSlotType_name (54.21s)
--- PASS: TestAccLexModelBuildingSlotType_valueSelectionStrategy (58.86s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexmodelbuilding 62.084s
GovCloud
% make testacc TESTARGS='-run=TestAccLexModelBuildingSlotTypeDataSource_' PKG_NAME=internal/service/lexmodelbuilding
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lexmodelbuilding/... -v -count 1 -parallel 20 -run=TestAccLexModelBuildingSlotTypeDataSource_ -timeout 180m
=== RUN TestAccLexModelBuildingSlotTypeDataSource_basic
=== PAUSE TestAccLexModelBuildingSlotTypeDataSource_basic
=== RUN TestAccLexModelBuildingSlotTypeDataSource_withVersion
=== PAUSE TestAccLexModelBuildingSlotTypeDataSource_withVersion
=== CONT TestAccLexModelBuildingSlotTypeDataSource_basic
=== CONT TestAccLexModelBuildingSlotTypeDataSource_withVersion
--- PASS: TestAccLexModelBuildingSlotTypeDataSource_withVersion (18.02s)
--- PASS: TestAccLexModelBuildingSlotTypeDataSource_basic (18.96s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexmodelbuilding 21.763s
% make testacc TESTARGS='-run=TestAccLexModelBuildingSlotType_' PKG_NAME=internal/service/lexmodelbuilding
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lexmodelbuilding/... -v -count 1 -parallel 20 -run=TestAccLexModelBuildingSlotType_ -timeout 180m
=== RUN TestAccLexModelBuildingSlotType_basic
=== PAUSE TestAccLexModelBuildingSlotType_basic
=== RUN TestAccLexModelBuildingSlotType_createVersion
=== PAUSE TestAccLexModelBuildingSlotType_createVersion
=== RUN TestAccLexModelBuildingSlotType_description
=== PAUSE TestAccLexModelBuildingSlotType_description
=== RUN TestAccLexModelBuildingSlotType_enumerationValues
=== PAUSE TestAccLexModelBuildingSlotType_enumerationValues
=== RUN TestAccLexModelBuildingSlotType_name
=== PAUSE TestAccLexModelBuildingSlotType_name
=== RUN TestAccLexModelBuildingSlotType_valueSelectionStrategy
=== PAUSE TestAccLexModelBuildingSlotType_valueSelectionStrategy
=== RUN TestAccLexModelBuildingSlotType_disappears
=== PAUSE TestAccLexModelBuildingSlotType_disappears
=== RUN TestAccLexModelBuildingSlotType_computeVersion
=== PAUSE TestAccLexModelBuildingSlotType_computeVersion
=== CONT TestAccLexModelBuildingSlotType_basic
=== CONT TestAccLexModelBuildingSlotType_computeVersion
=== CONT TestAccLexModelBuildingSlotType_enumerationValues
=== CONT TestAccLexModelBuildingSlotType_createVersion
=== CONT TestAccLexModelBuildingSlotType_disappears
=== CONT TestAccLexModelBuildingSlotType_description
=== CONT TestAccLexModelBuildingSlotType_name
=== CONT TestAccLexModelBuildingSlotType_valueSelectionStrategy
--- PASS: TestAccLexModelBuildingSlotType_disappears (29.31s)
--- PASS: TestAccLexModelBuildingSlotType_basic (37.37s)
--- PASS: TestAccLexModelBuildingSlotType_enumerationValues (51.52s)
--- PASS: TestAccLexModelBuildingSlotType_computeVersion (54.19s)
--- PASS: TestAccLexModelBuildingSlotType_description (56.35s)
--- PASS: TestAccLexModelBuildingSlotType_createVersion (57.43s)
--- PASS: TestAccLexModelBuildingSlotType_valueSelectionStrategy (58.91s)
--- PASS: TestAccLexModelBuildingSlotType_name (59.82s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexmodelbuilding 65.203s
@brenthc Thanks for the contribution 🎉 👏. |
You tested it? You have to make over 9 slot types to make sure it gets 10 instead of 9 to verify. I didn't get to it yet. |
@brenthc No, I didn't test that. As the code was pretty much identical to the |
Current release (3.63.0):
Build from
I think we're good! |
This functionality has been released in v3.64.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. |
submitting more for raw material than merging. untested, but will test tomorrow.
Relates #20383.
Relates #21045.
Relates #21049.
Relates #21122.