-
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
Add model_access_config, multi_model_config and inference_specification_name to sagemaker_model primary_container and container block #35873
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Hi @DrFaust92, For your kind review. 4 new test cases created to cover the enhancement. |
7bb843b
to
2185243
Compare
Hi @ewbankkit, The issues should be fixed now and lint tests should be better. Appreciate if you can retrigger. Thanks in advance. |
31c67c8
to
cbc02a1
Compare
Dear @DrFaust92, Gentle nudge to review |
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
Hi @ewbankkit 👋 May I request if you can consider this for merge |
deepakbshetty can you fix conflicts and add changelog entry? |
cbc02a1
to
6192bb3
Compare
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
Dear @DrFaust92 , Added changelog and fixed conflicts |
6192bb3
to
3d3f13d
Compare
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
3d3f13d
to
d63693b
Compare
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
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 (without running tests)
c309079
to
11e56d8
Compare
3996375
to
8dcc494
Compare
Dear @DrFaust92 , Request re-review. Added prebuilt ecr image data source to tests, as they are now available in provider version 5.61.0 |
3d3096e
to
dea8c9d
Compare
…on_name to primary_container and container block
dea8c9d
to
72b549a
Compare
Hi @ewbankkit , For your kind consideration. Adds multiple missing features for sagemaker model creation. |
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 TESTARGS='-run=TestAccSageMakerModel_' PKG=sagemaker ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/sagemaker/... -v -count 1 -parallel 3 -run=TestAccSageMakerModel_ -timeout 360m
=== RUN TestAccSageMakerModel_basic
=== PAUSE TestAccSageMakerModel_basic
=== RUN TestAccSageMakerModel_inferenceExecution
=== PAUSE TestAccSageMakerModel_inferenceExecution
=== RUN TestAccSageMakerModel_tags
=== PAUSE TestAccSageMakerModel_tags
=== RUN TestAccSageMakerModel_primaryContainerModelDataURL
=== PAUSE TestAccSageMakerModel_primaryContainerModelDataURL
=== RUN TestAccSageMakerModel_primaryContainerHostname
=== PAUSE TestAccSageMakerModel_primaryContainerHostname
=== RUN TestAccSageMakerModel_primaryContainerImage
=== PAUSE TestAccSageMakerModel_primaryContainerImage
=== RUN TestAccSageMakerModel_primaryContainerEnvironment
=== PAUSE TestAccSageMakerModel_primaryContainerEnvironment
=== RUN TestAccSageMakerModel_primaryContainerModeSingle
=== PAUSE TestAccSageMakerModel_primaryContainerModeSingle
=== RUN TestAccSageMakerModel_primaryContainerModelPackageName
=== PAUSE TestAccSageMakerModel_primaryContainerModelPackageName
=== RUN TestAccSageMakerModel_primaryContainerModelDataSource
=== PAUSE TestAccSageMakerModel_primaryContainerModelDataSource
=== RUN TestAccSageMakerModel_containers
=== PAUSE TestAccSageMakerModel_containers
=== RUN TestAccSageMakerModel_vpc
=== PAUSE TestAccSageMakerModel_vpc
=== RUN TestAccSageMakerModel_primaryContainerPrivateDockerRegistry
=== PAUSE TestAccSageMakerModel_primaryContainerPrivateDockerRegistry
=== RUN TestAccSageMakerModel_networkIsolation
=== PAUSE TestAccSageMakerModel_networkIsolation
=== RUN TestAccSageMakerModel_disappears
=== PAUSE TestAccSageMakerModel_disappears
=== RUN TestAccSageMakerModel_primaryContainerModelS3DataSourceAcceptEula
=== PAUSE TestAccSageMakerModel_primaryContainerModelS3DataSourceAcceptEula
=== RUN TestAccSageMakerModel_primaryContainerInferenceSpecificationName
=== PAUSE TestAccSageMakerModel_primaryContainerInferenceSpecificationName
=== RUN TestAccSageMakerModel_primaryContainerMultiModelConfigModelCacheSetting
=== PAUSE TestAccSageMakerModel_primaryContainerMultiModelConfigModelCacheSetting
=== RUN TestAccSageMakerModel_containersMultiModelConfigModelCacheSetting
=== PAUSE TestAccSageMakerModel_containersMultiModelConfigModelCacheSetting
=== CONT TestAccSageMakerModel_basic
=== CONT TestAccSageMakerModel_containers
=== CONT TestAccSageMakerModel_primaryContainerModelS3DataSourceAcceptEula
--- PASS: TestAccSageMakerModel_containers (22.84s)
=== CONT TestAccSageMakerModel_primaryContainerImage
--- PASS: TestAccSageMakerModel_primaryContainerModelS3DataSourceAcceptEula (22.93s)
=== CONT TestAccSageMakerModel_primaryContainerModelDataSource
--- PASS: TestAccSageMakerModel_basic (27.84s)
=== CONT TestAccSageMakerModel_primaryContainerModelPackageName
--- PASS: TestAccSageMakerModel_primaryContainerModelDataSource (25.78s)
=== CONT TestAccSageMakerModel_primaryContainerModeSingle
--- PASS: TestAccSageMakerModel_primaryContainerModelPackageName (22.54s)
=== CONT TestAccSageMakerModel_primaryContainerEnvironment
--- PASS: TestAccSageMakerModel_primaryContainerImage (27.78s)
=== CONT TestAccSageMakerModel_primaryContainerModelDataURL
--- PASS: TestAccSageMakerModel_primaryContainerEnvironment (21.20s)
=== CONT TestAccSageMakerModel_primaryContainerHostname
--- PASS: TestAccSageMakerModel_primaryContainerModeSingle (26.26s)
=== CONT TestAccSageMakerModel_networkIsolation
--- PASS: TestAccSageMakerModel_primaryContainerModelDataURL (27.18s)
=== CONT TestAccSageMakerModel_disappears
--- PASS: TestAccSageMakerModel_disappears (20.28s)
=== CONT TestAccSageMakerModel_primaryContainerMultiModelConfigModelCacheSetting
--- PASS: TestAccSageMakerModel_networkIsolation (25.28s)
=== CONT TestAccSageMakerModel_containersMultiModelConfigModelCacheSetting
--- PASS: TestAccSageMakerModel_primaryContainerHostname (32.05s)
=== CONT TestAccSageMakerModel_primaryContainerInferenceSpecificationName
--- PASS: TestAccSageMakerModel_primaryContainerMultiModelConfigModelCacheSetting (24.70s)
=== CONT TestAccSageMakerModel_tags
--- PASS: TestAccSageMakerModel_containersMultiModelConfigModelCacheSetting (25.98s)
=== CONT TestAccSageMakerModel_inferenceExecution
--- PASS: TestAccSageMakerModel_primaryContainerInferenceSpecificationName (26.21s)
=== CONT TestAccSageMakerModel_primaryContainerPrivateDockerRegistry
--- PASS: TestAccSageMakerModel_inferenceExecution (22.70s)
=== CONT TestAccSageMakerModel_vpc
--- PASS: TestAccSageMakerModel_primaryContainerPrivateDockerRegistry (27.31s)
--- PASS: TestAccSageMakerModel_tags (41.34s)
--- PASS: TestAccSageMakerModel_vpc (26.29s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 180.223s
@deepakbshetty Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.67.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. |
Description
Relations
Closes #34795
Also adds below to
primary_container
andcontainer
References
Output from Acceptance Testing