Skip to content
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

Elastic Inference Accelerators for SageMaker #10210

Merged
merged 8 commits into from
Jul 1, 2022

Conversation

WriteCodeEveryday
Copy link
Contributor

Adds Elastic Inference Accelerators as an option for SageMaker notebooks.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Closes #10208

Release note for CHANGELOG:

Adds Elastic Inference as

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'
MISSING
...

@WriteCodeEveryday WriteCodeEveryday requested a review from a team September 23, 2019 20:47
@ghost ghost added size/M Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/sagemaker Issues and PRs that pertain to the sagemaker service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Sep 23, 2019
@WriteCodeEveryday
Copy link
Contributor Author

This change is missing go fmt as it was created a large change (30+ files). I'm trying to get my test suite up and running but it appears to be having issues.

@zhelding
Copy link
Contributor

Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding.

Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single aws directory to a large number of separate directories in internal/service, each corresponding to a particular AWS service. This separation of code has also allowed for us to simplify the names of underlying functions -- while still avoiding namespace collisions.

We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author.

For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000.

For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide.

@ewbankkit ewbankkit added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 1, 2022
@ewbankkit ewbankkit changed the title [WIP] Elastic Inference Accelerators for SageMaker Elastic Inference Accelerators for SageMaker Jul 1, 2022
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Jul 1, 2022
Copy link
Contributor

@ewbankkit ewbankkit left a 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=TestAccSageMakerNotebookInstance_' PKG=sagemaker ACCTEST_PARALLELISM=3 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/sagemaker/... -v -count 1 -parallel 3  -run=TestAccSageMakerNotebookInstance_ -timeout 180m
=== RUN   TestAccSageMakerNotebookInstance_basic
=== PAUSE TestAccSageMakerNotebookInstance_basic
=== RUN   TestAccSageMakerNotebookInstance_imds
=== PAUSE TestAccSageMakerNotebookInstance_imds
=== RUN   TestAccSageMakerNotebookInstance_update
=== PAUSE TestAccSageMakerNotebookInstance_update
=== RUN   TestAccSageMakerNotebookInstance_volumeSize
=== PAUSE TestAccSageMakerNotebookInstance_volumeSize
=== RUN   TestAccSageMakerNotebookInstance_lifecycleName
=== PAUSE TestAccSageMakerNotebookInstance_lifecycleName
=== RUN   TestAccSageMakerNotebookInstance_tags
=== PAUSE TestAccSageMakerNotebookInstance_tags
=== RUN   TestAccSageMakerNotebookInstance_kms
=== PAUSE TestAccSageMakerNotebookInstance_kms
=== RUN   TestAccSageMakerNotebookInstance_disappears
=== PAUSE TestAccSageMakerNotebookInstance_disappears
=== RUN   TestAccSageMakerNotebookInstance_Root_access
=== PAUSE TestAccSageMakerNotebookInstance_Root_access
=== RUN   TestAccSageMakerNotebookInstance_Platform_identifier
=== PAUSE TestAccSageMakerNotebookInstance_Platform_identifier
=== RUN   TestAccSageMakerNotebookInstance_DirectInternet_access
=== PAUSE TestAccSageMakerNotebookInstance_DirectInternet_access
=== RUN   TestAccSageMakerNotebookInstance_DefaultCode_repository
=== PAUSE TestAccSageMakerNotebookInstance_DefaultCode_repository
=== RUN   TestAccSageMakerNotebookInstance_AdditionalCode_repositories
=== PAUSE TestAccSageMakerNotebookInstance_AdditionalCode_repositories
=== RUN   TestAccSageMakerNotebookInstance_DefaultCodeRepository_sageMakerRepo
=== PAUSE TestAccSageMakerNotebookInstance_DefaultCodeRepository_sageMakerRepo
=== RUN   TestAccSageMakerNotebookInstance_acceleratorTypes
=== PAUSE TestAccSageMakerNotebookInstance_acceleratorTypes
=== CONT  TestAccSageMakerNotebookInstance_basic
=== CONT  TestAccSageMakerNotebookInstance_Root_access
=== CONT  TestAccSageMakerNotebookInstance_AdditionalCode_repositories
--- PASS: TestAccSageMakerNotebookInstance_basic (428.98s)
=== CONT  TestAccSageMakerNotebookInstance_acceleratorTypes
--- PASS: TestAccSageMakerNotebookInstance_acceleratorTypes (1142.76s)
=== CONT  TestAccSageMakerNotebookInstance_DirectInternet_access
--- PASS: TestAccSageMakerNotebookInstance_DirectInternet_access (759.71s)
=== CONT  TestAccSageMakerNotebookInstance_DefaultCode_repository
=== CONT  TestAccSageMakerNotebookInstance_Platform_identifier
--- PASS: TestAccSageMakerNotebookInstance_Root_access (795.57s)
--- PASS: TestAccSageMakerNotebookInstance_AdditionalCode_repositories (1533.78s)
=== CONT  TestAccSageMakerNotebookInstance_DefaultCodeRepository_sageMakerRepo
--- PASS: TestAccSageMakerNotebookInstance_Platform_identifier (765.05s)
=== CONT  TestAccSageMakerNotebookInstance_lifecycleName
--- PASS: TestAccSageMakerNotebookInstance_DefaultCode_repository (1188.18s)
=== CONT  TestAccSageMakerNotebookInstance_disappears
--- PASS: TestAccSageMakerNotebookInstance_disappears (420.78s)
=== CONT  TestAccSageMakerNotebookInstance_kms
--- PASS: TestAccSageMakerNotebookInstance_DefaultCodeRepository_sageMakerRepo (1151.62s)
=== CONT  TestAccSageMakerNotebookInstance_tags
--- PASS: TestAccSageMakerNotebookInstance_lifecycleName (1149.72s)
=== CONT  TestAccSageMakerNotebookInstance_update
--- PASS: TestAccSageMakerNotebookInstance_kms (314.78s)
=== CONT  TestAccSageMakerNotebookInstance_volumeSize
--- PASS: TestAccSageMakerNotebookInstance_tags (438.12s)
=== CONT  TestAccSageMakerNotebookInstance_imds
--- PASS: TestAccSageMakerNotebookInstance_update (726.20s)
--- PASS: TestAccSageMakerNotebookInstance_volumeSize (1036.36s)
--- PASS: TestAccSageMakerNotebookInstance_imds (862.26s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker	3997.506s

@ewbankkit
Copy link
Contributor

@WriteCodeEveryday Thanks for the contribution 🎉 👏.

@ewbankkit
Copy link
Contributor

% make providerlint golangci-lint                                                                           
==> Checking source code with providerlint...
==> Checking source code with golangci-lint...

@ewbankkit ewbankkit merged commit 28ce9c2 into hashicorp:main Jul 1, 2022
@github-actions github-actions bot added this to the v4.22.0 milestone Jul 1, 2022
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

This functionality has been released in v4.22.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!

@github-actions
Copy link

github-actions bot commented Aug 7, 2022

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/sagemaker Issues and PRs that pertain to the sagemaker service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Elastic Inference Accelerators for SageMaker
4 participants