-
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
feat: add platform_identifier
to r/aws_sagemaker_notebook_instance
#20711
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.
Welcome @lastlee 👋
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 CONTRIBUTING 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.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSagemakerNotebookInstance_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerNotebookInstance_ -timeout 180m
=== RUN TestAccAWSSagemakerNotebookInstance_basic
=== PAUSE TestAccAWSSagemakerNotebookInstance_basic
=== RUN TestAccAWSSagemakerNotebookInstance_update
=== PAUSE TestAccAWSSagemakerNotebookInstance_update
=== RUN TestAccAWSSagemakerNotebookInstance_volumesize
=== PAUSE TestAccAWSSagemakerNotebookInstance_volumesize
=== RUN TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== PAUSE TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== RUN TestAccAWSSagemakerNotebookInstance_tags
=== PAUSE TestAccAWSSagemakerNotebookInstance_tags
=== RUN TestAccAWSSagemakerNotebookInstance_kms
=== PAUSE TestAccAWSSagemakerNotebookInstance_kms
=== RUN TestAccAWSSagemakerNotebookInstance_disappears
=== PAUSE TestAccAWSSagemakerNotebookInstance_disappears
=== RUN TestAccAWSSagemakerNotebookInstance_root_access
=== PAUSE TestAccAWSSagemakerNotebookInstance_root_access
=== RUN TestAccAWSSagemakerNotebookInstance_platform_identifier
=== PAUSE TestAccAWSSagemakerNotebookInstance_platform_identifier
=== RUN TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== PAUSE TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository
=== RUN TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== PAUSE TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_basic
=== CONT TestAccAWSSagemakerNotebookInstance_root_access
=== CONT TestAccAWSSagemakerNotebookInstance_update
=== CONT TestAccAWSSagemakerNotebookInstance_volumesize
=== CONT TestAccAWSSagemakerNotebookInstance_tags
=== CONT TestAccAWSSagemakerNotebookInstance_disappears
=== CONT TestAccAWSSagemakerNotebookInstance_kms
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository
=== CONT TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== CONT TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== CONT TestAccAWSSagemakerNotebookInstance_platform_identifier
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (387.20s)
--- PASS: TestAccAWSSagemakerNotebookInstance_disappears (495.99s)
--- PASS: TestAccAWSSagemakerNotebookInstance_tags (496.53s)
--- PASS: TestAccAWSSagemakerNotebookInstance_kms (634.43s)
--- PASS: TestAccAWSSagemakerNotebookInstance_root_access (783.53s)
--- PASS: TestAccAWSSagemakerNotebookInstance_platform_identifier (787.76s)
--- PASS: TestAccAWSSagemakerNotebookInstance_direct_internet_access (897.27s)
--- PASS: TestAccAWSSagemakerNotebookInstance_update (900.83s)
--- PASS: TestAccAWSSagemakerNotebookInstance_volumesize (1148.06s)
--- PASS: TestAccAWSSagemakerNotebookInstance_LifecycleConfigName (1220.92s)
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository (1293.89s)
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo (1417.04s)
--- PASS: TestAccAWSSagemakerNotebookInstance_additional_code_repositories (1480.89s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1484.716s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSagemakerNotebookInstance_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerNotebookInstance_ -timeout 180m
=== RUN TestAccAWSSagemakerNotebookInstance_basic
=== PAUSE TestAccAWSSagemakerNotebookInstance_basic
=== RUN TestAccAWSSagemakerNotebookInstance_update
=== PAUSE TestAccAWSSagemakerNotebookInstance_update
=== RUN TestAccAWSSagemakerNotebookInstance_volumesize
=== PAUSE TestAccAWSSagemakerNotebookInstance_volumesize
=== RUN TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== PAUSE TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== RUN TestAccAWSSagemakerNotebookInstance_tags
=== PAUSE TestAccAWSSagemakerNotebookInstance_tags
=== RUN TestAccAWSSagemakerNotebookInstance_kms
=== PAUSE TestAccAWSSagemakerNotebookInstance_kms
=== RUN TestAccAWSSagemakerNotebookInstance_disappears
=== PAUSE TestAccAWSSagemakerNotebookInstance_disappears
=== RUN TestAccAWSSagemakerNotebookInstance_root_access
=== PAUSE TestAccAWSSagemakerNotebookInstance_root_access
=== RUN TestAccAWSSagemakerNotebookInstance_platform_identifier
=== PAUSE TestAccAWSSagemakerNotebookInstance_platform_identifier
=== RUN TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== PAUSE TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository
=== RUN TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== PAUSE TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_basic
=== CONT TestAccAWSSagemakerNotebookInstance_root_access
=== CONT TestAccAWSSagemakerNotebookInstance_kms
=== CONT TestAccAWSSagemakerNotebookInstance_disappears
=== CONT TestAccAWSSagemakerNotebookInstance_platform_identifier
=== CONT TestAccAWSSagemakerNotebookInstance_volumesize
=== CONT TestAccAWSSagemakerNotebookInstance_tags
=== CONT TestAccAWSSagemakerNotebookInstance_additional_code_repositories
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository
=== CONT TestAccAWSSagemakerNotebookInstance_direct_internet_access
=== CONT TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== CONT TestAccAWSSagemakerNotebookInstance_update
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating SageMaker code repository: UnknownOperationException: The requested operation is not supported in the called region.
status code: 400, request id: 53207e2e-49fd-4e11-82b1-05226c1f6bc5
with aws_sagemaker_code_repository.test,
on terraform_plugin_test.tf line 19, in resource "aws_sagemaker_code_repository" "test":
19: resource "aws_sagemaker_code_repository" "test" {
--- SKIP: TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo (18.88s)
--- PASS: TestAccAWSSagemakerNotebookInstance_disappears (366.27s)
--- PASS: TestAccAWSSagemakerNotebookInstance_tags (383.85s)
--- PASS: TestAccAWSSagemakerNotebookInstance_kms (413.93s)
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (472.90s)
--- PASS: TestAccAWSSagemakerNotebookInstance_direct_internet_access (721.46s)
--- PASS: TestAccAWSSagemakerNotebookInstance_platform_identifier (745.53s)
--- PASS: TestAccAWSSagemakerNotebookInstance_update (852.93s)
--- PASS: TestAccAWSSagemakerNotebookInstance_root_access (889.58s)
--- PASS: TestAccAWSSagemakerNotebookInstance_volumesize (1049.22s)
--- PASS: TestAccAWSSagemakerNotebookInstance_LifecycleConfigName (1264.22s)
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository (1281.14s)
--- PASS: TestAccAWSSagemakerNotebookInstance_additional_code_repositories (1360.26s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1365.491s
@lastlee Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.57.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. |
Community Note
Relates OR Closes #20706
Release notes for CHANGELOG:
Output from acceptance testing: