-
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/sagemaker_image_version - new resource #17141
r/sagemaker_image_version - new resource #17141
Conversation
Verified acceptance tests: $ SAGEMAKER_IMAGE_VERSION_BASE_IMAGE=123456789012.dkr.ecr.us-west-2.amazonaws.com/smstudio-custom:r make testacc TEST=./aws TESTARGS='-run=TestAccAWSSagemakerImageVersion_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerImageVersion_ -timeout 120m
=== RUN TestAccAWSSagemakerImageVersion_basic
=== PAUSE TestAccAWSSagemakerImageVersion_basic
=== RUN TestAccAWSSagemakerImageVersion_disappears
=== PAUSE TestAccAWSSagemakerImageVersion_disappears
=== RUN TestAccAWSSagemakerImageVersion_disappears_image
=== PAUSE TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_basic
=== CONT TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_disappears
--- PASS: TestAccAWSSagemakerImageVersion_disappears (79.53s)
--- PASS: TestAccAWSSagemakerImageVersion_disappears_image (79.93s)
--- PASS: TestAccAWSSagemakerImageVersion_basic (82.12s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 82.204s |
71efe71
to
9a21963
Compare
removed update func:
|
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.
$ SAGEMAKER_IMAGE_VERSION_BASE_IMAGE=123456789012.dkr.ecr.us-west-2.amazonaws.com/smstudio-custom:r make testacc TEST=./aws TESTARGS='-run=TestAccAWSSagemakerImageVersion_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerImageVersion_ -timeout 120m
=== RUN TestAccAWSSagemakerImageVersion_basic
=== PAUSE TestAccAWSSagemakerImageVersion_basic
=== RUN TestAccAWSSagemakerImageVersion_disappears
=== PAUSE TestAccAWSSagemakerImageVersion_disappears
=== RUN TestAccAWSSagemakerImageVersion_disappears_image
=== PAUSE TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_basic
=== CONT TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_disappears
--- PASS: TestAccAWSSagemakerImageVersion_disappears_image (79.56s)
--- PASS: TestAccAWSSagemakerImageVersion_disappears (80.94s)
--- PASS: TestAccAWSSagemakerImageVersion_basic (88.03s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 88.101s
LGTM 🚀 Thanks @DrFaust92! Verified Acceptance Tests in Commercial (us-west-2) --- PASS: TestAccAWSSagemakerImage_basic (83.76s)
--- PASS: TestAccAWSSagemakerImage_disappears (94.06s)
--- PASS: TestAccAWSSagemakerImage_displayName (111.35s)
--- PASS: TestAccAWSSagemakerImage_description (112.63s)
--- PASS: TestAccAWSSagemakerImage_tags (113.64s)
SAGEMAKER_IMAGE_VERSION_BASE_IMAGE=1234567890.dkr.ecr.us-east-1.amazonaws.com/smtest:r make testacc TEST=./aws TESTARGS='-run=TestAccAWSSagemakerImageVersion_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerImageVersion_ -timeout 120m
=== RUN TestAccAWSSagemakerImageVersion_basic
=== PAUSE TestAccAWSSagemakerImageVersion_basic
=== RUN TestAccAWSSagemakerImageVersion_disappears
=== PAUSE TestAccAWSSagemakerImageVersion_disappears
=== RUN TestAccAWSSagemakerImageVersion_disappears_image
=== PAUSE TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_basic
=== CONT TestAccAWSSagemakerImageVersion_disappears_image
=== CONT TestAccAWSSagemakerImageVersion_disappears
--- PASS: TestAccAWSSagemakerImageVersion_disappears_image (86.24s)
--- PASS: TestAccAWSSagemakerImageVersion_disappears (86.71s)
--- PASS: TestAccAWSSagemakerImageVersion_basic (87.00s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 88.845s As this is part of SageMaker Studio this is not expected to work in GovCloud, however we will need to detect and skip Studio features when running the acceptance tests in that partition. I will link an issue back here which will track that work. |
This has been released in version 3.25.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
Closes #14453
Release note for CHANGELOG:
Output from acceptance testing: