-
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
Add routing config support to Sagemaker Endpoint Configuration #34777
Add routing config support to Sagemaker Endpoint Configuration #34777
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @curtisallen 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
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.
Good start, some minor changes
thanks for the speedy review @DrFaust92 , please take another look 🙇🏾 |
Happy new year @DrFaust92 gentle ping on this one 🙇🏾 |
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
can we get a merge @DrFaust92 ? |
…g test make testacc PKG=sagemaker TESTS=TestAccSageMakerEndpointConfiguration_ProductionVariants_routing ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/sagemaker/... -v -count 1 -parallel 20 -run='TestAccSageMakerEndpointConfiguration_ProductionVariants_routing' -timeout 360m === RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_routing === PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_routing === CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_routing --- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_routing (21.09s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 27.992s
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=sagemaker TESTS=TestAccSageMakerEndpointConfiguration_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/sagemaker/... -v -count 1 -parallel 20 -run='TestAccSageMakerEndpointConfiguration_' -timeout 360m
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_variantNameGenerated (29.79s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight
--- PASS: TestAccSageMakerEndpointConfiguration_namePrefix (29.82s)
--- PASS: TestAccSageMakerEndpointConfiguration_async_includeInference (33.69s)
--- PASS: TestAccSageMakerEndpointConfiguration_Async_client_failurePath (36.06s)
=== NAME TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess
testing_new.go:80: Error retrieving state, there may be dangling resources: exit status 1
Failed to marshal state to json: unsupported attribute "override_json"
--- FAIL: TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess (38.12s)
--- PASS: TestAccSageMakerEndpointConfiguration_Async_notif (39.89s)
--- PASS: TestAccSageMakerEndpointConfiguration_async_kms (43.91s)
--- PASS: TestAccSageMakerEndpointConfiguration_nameGenerated (47.65s)
--- PASS: TestAccSageMakerEndpointConfiguration_tags (48.80s)
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_routing (51.40s)
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_serverless (52.32s)
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight (23.73s)
--- PASS: TestAccSageMakerEndpointConfiguration_async (67.22s)
--- PASS: TestAccSageMakerEndpointConfiguration_dataCapture (68.80s)
--- PASS: TestAccSageMakerEndpointConfiguration_Async_client (69.09s)
--- PASS: TestAccSageMakerEndpointConfiguration_kmsKeyID (69.29s)
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_acceleratorType (70.69s)
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_serverlessProvisionedConcurrency (76.68s)
--- PASS: TestAccSageMakerEndpointConfiguration_shadowProductionVariants (78.64s)
--- PASS: TestAccSageMakerEndpointConfiguration_basic (79.49s)
--- PASS: TestAccSageMakerEndpointConfiguration_disappears (81.61s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 88.607s
Test failure is unrelated to this change.
Thanks for your contribution, @curtisallen! 🎸 |
This functionality has been released in v5.37.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
Recently AWS added support for routing strategies in Sagemaker Endpoints. This PR adds
routing_config
support to Sagemaker Config endpoints.