-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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/sagemaker_endpoint_configuration - support data_capture_config
+ validations and test refactor
#15887
r/sagemaker_endpoint_configuration - support data_capture_config
+ validations and test refactor
#15887
Conversation
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 TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerEndpointConfiguration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerEndpointConfiguration_ -timeout 120m
=== RUN TestAccAWSSagemakerEndpointConfiguration_basic
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_basic
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== RUN TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== RUN TestAccAWSSagemakerEndpointConfiguration_tags
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_tags
=== RUN TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== RUN TestAccAWSSagemakerEndpointConfiguration_disappears
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_basic
=== CONT TestAccAWSSagemakerEndpointConfiguration_tags
=== CONT TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== CONT TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType (50.42s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_disappears (58.39s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_basic (60.73s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight (62.53s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_kmsKeyId (65.66s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig (70.63s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_tags (85.68s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 85.739s
da3661f
to
b57cbae
Compare
Thanks @YakDriver, added changes and tested :
|
If we can hold off on this until #15924 is merged, this PR can use that. |
Co-authored-by: Dirk Avery <[email protected]>
b57cbae
to
f3c7f50
Compare
@YakDriver, using the new datasource. tests are passing |
Verified acceptance test in default and non-default Commercial regions: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerEndpointConfiguration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerEndpointConfiguration_ -timeout 120m
=== RUN TestAccAWSSagemakerEndpointConfiguration_basic
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_basic
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== RUN TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== RUN TestAccAWSSagemakerEndpointConfiguration_tags
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_tags
=== RUN TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== RUN TestAccAWSSagemakerEndpointConfiguration_disappears
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_basic
=== CONT TestAccAWSSagemakerEndpointConfiguration_tags
=== CONT TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== CONT TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType (52.42s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight (55.05s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_disappears (55.51s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig (57.98s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_basic (62.66s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_kmsKeyId (68.31s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_tags (85.88s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 85.945s
$ AWS_DEFAULT_REGION=us-east-2 make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerEndpointConfiguration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerEndpointConfiguration_ -timeout 120m
=== RUN TestAccAWSSagemakerEndpointConfiguration_basic
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_basic
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
=== RUN TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== RUN TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== RUN TestAccAWSSagemakerEndpointConfiguration_tags
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_tags
=== RUN TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== RUN TestAccAWSSagemakerEndpointConfiguration_disappears
=== PAUSE TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_basic
=== CONT TestAccAWSSagemakerEndpointConfiguration_tags
=== CONT TestAccAWSSagemakerEndpointConfiguration_disappears
=== CONT TestAccAWSSagemakerEndpointConfiguration_kmsKeyId
=== CONT TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType
=== CONT TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight
--- PASS: TestAccAWSSagemakerEndpointConfiguration_basic (35.44s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_InitialVariantWeight (40.34s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_dataCaptureConfig (45.77s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_disappears (52.71s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_productionVariants_AcceleratorType (53.40s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_kmsKeyId (57.36s)
--- PASS: TestAccAWSSagemakerEndpointConfiguration_tags (77.98s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 78.041s |
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.
I say we forge ahead and tackle the next level of GovCloud problems in subsequent PR(s).
This has been released in version 3.14.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 for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Supersedes #11484
Closes #14170
Relates #13826
Release note for CHANGELOG:
Output from acceptance testing: