-
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_code_repository - new resource #15809
r/sagemaker_code_repository - new resource #15809
Conversation
Verified acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerCodeRepository_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerCodeRepository_ -timeout 120m
=== RUN TestAccAWSSagemakerCodeRepository_basic
=== PAUSE TestAccAWSSagemakerCodeRepository_basic
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== RUN TestAccAWSSagemakerCodeRepository_disappears
=== PAUSE TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_basic
=== CONT TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_branch
--- PASS: TestAccAWSSagemakerCodeRepository_disappears (17.27s)
--- PASS: TestAccAWSSagemakerCodeRepository_basic (23.32s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_branch (29.28s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_secret (46.38s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 46.431s |
addressed PR comments:
|
Added test for code repo usage in sagemaker notebook instance:
|
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 TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerCodeRepository_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerCodeRepository_ -timeout 120m
=== RUN TestAccAWSSagemakerCodeRepository_basic
=== PAUSE TestAccAWSSagemakerCodeRepository_basic
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== RUN TestAccAWSSagemakerCodeRepository_disappears
=== PAUSE TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_basic
=== CONT TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_branch
--- PASS: TestAccAWSSagemakerCodeRepository_disappears (17.00s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_branch (23.74s)
--- PASS: TestAccAWSSagemakerCodeRepository_basic (23.86s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_secret (47.05s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 47.118s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo\|TestAccAWSSagemakerNotebookInstance_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo\|TestAccAWSSagemakerNotebookInstance_basic -timeout 120m
=== RUN TestAccAWSSagemakerNotebookInstance_basic
=== PAUSE TestAccAWSSagemakerNotebookInstance_basic
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_basic
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (336.17s)
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo (983.18s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 983.242s
Co-authored-by: Kit Ewbank <Kit_Ewbank@hotmail.com>
Co-authored-by: Kit Ewbank <Kit_Ewbank@hotmail.com>
6279908
to
bbfe5c4
Compare
Rebased |
Verified acceptance tests after rebase: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerCodeRepository_\|TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo\|TestAccAWSSagemakerNotebookInstance_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerCodeRepository_\|TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo\|TestAccAWSSagemakerNotebookInstance_basic -timeout 120m
=== RUN TestAccAWSSagemakerCodeRepository_basic
=== PAUSE TestAccAWSSagemakerCodeRepository_basic
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== RUN TestAccAWSSagemakerCodeRepository_disappears
=== PAUSE TestAccAWSSagemakerCodeRepository_disappears
=== RUN TestAccAWSSagemakerNotebookInstance_basic
=== PAUSE TestAccAWSSagemakerNotebookInstance_basic
=== RUN TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== PAUSE TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerCodeRepository_basic
=== CONT TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo
=== CONT TestAccAWSSagemakerNotebookInstance_basic
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== CONT TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_branch
2020/10/29 14:34:13 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/29 14:34:13 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/29 14:34:13 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
--- PASS: TestAccAWSSagemakerCodeRepository_disappears (19.23s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_branch (24.93s)
--- PASS: TestAccAWSSagemakerCodeRepository_basic (25.02s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_secret (50.26s)
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (393.80s)
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo (1123.79s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1123.859s |
LGTM 🚀 Thanks @DrFaust92 Verified Acceptance Tests in Commercial (us-west-2) make testacc TESTARGS='-run=TestAccAWSSagemakerCodeRepository_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerCodeRepository_ -timeout 120m
=== RUN TestAccAWSSagemakerCodeRepository_basic
=== PAUSE TestAccAWSSagemakerCodeRepository_basic
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_branch
=== RUN TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== PAUSE TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== RUN TestAccAWSSagemakerCodeRepository_disappears
=== PAUSE TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_basic
=== CONT TestAccAWSSagemakerCodeRepository_disappears
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_secret
=== CONT TestAccAWSSagemakerCodeRepository_gitConfig_branch
--- PASS: TestAccAWSSagemakerCodeRepository_disappears (11.08s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_branch (15.07s)
--- PASS: TestAccAWSSagemakerCodeRepository_basic (15.27s)
--- PASS: TestAccAWSSagemakerCodeRepository_gitConfig_secret (37.54s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 39.071s Note that Code Repositories are not currently supported in the GovCloud region. |
This has been released in version 3.13.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 #13817
Release note for CHANGELOG:
Output from acceptance testing:
--- PASS: TestAccAWSSagemakerNotebookInstance_default_code_repository_sagemakerRepo (1165.81s)