-
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
r/sageamaker_model_package_group - new resource #17366
r/sageamaker_model_package_group - new resource #17366
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.
LGTM.
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerModelPackageGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerModelPackageGroup_ -timeout 120m
=== RUN TestAccAWSSagemakerModelPackageGroup_basic
=== PAUSE TestAccAWSSagemakerModelPackageGroup_basic
=== RUN TestAccAWSSagemakerModelPackageGroup_description
=== PAUSE TestAccAWSSagemakerModelPackageGroup_description
=== RUN TestAccAWSSagemakerModelPackageGroup_tags
=== PAUSE TestAccAWSSagemakerModelPackageGroup_tags
=== RUN TestAccAWSSagemakerModelPackageGroup_disappears
=== PAUSE TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_basic
=== CONT TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_tags
=== CONT TestAccAWSSagemakerModelPackageGroup_description
--- PASS: TestAccAWSSagemakerModelPackageGroup_description (16.91s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_disappears (17.04s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_basic (21.84s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_tags (42.57s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 42.671s
Co-authored-by: Kit Ewbank <Kit_Ewbank@hotmail.com>
LGTM 🚀 Thanks @DrFaust92 Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerModelPackageGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerModelPackageGroup_ -timeout 120m
=== RUN TestAccAWSSagemakerModelPackageGroup_basic
=== PAUSE TestAccAWSSagemakerModelPackageGroup_basic
=== RUN TestAccAWSSagemakerModelPackageGroup_description
=== PAUSE TestAccAWSSagemakerModelPackageGroup_description
=== RUN TestAccAWSSagemakerModelPackageGroup_tags
=== PAUSE TestAccAWSSagemakerModelPackageGroup_tags
=== RUN TestAccAWSSagemakerModelPackageGroup_disappears
=== PAUSE TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_basic
=== CONT TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_tags
=== CONT TestAccAWSSagemakerModelPackageGroup_description
--- PASS: TestAccAWSSagemakerModelPackageGroup_disappears (11.47s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_basic (15.51s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_description (15.71s)
--- PASS: TestAccAWSSagemakerModelPackageGroup_tags (34.09s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 35.855s Failing Acceptance Tests in GovCloud (us-gov-west-1) These tests will need to be skipped, a follow up issue will be created to track this work. make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSagemakerModelPackageGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerModelPackageGroup_ -timeout 120m
=== RUN TestAccAWSSagemakerModelPackageGroup_basic
=== PAUSE TestAccAWSSagemakerModelPackageGroup_basic
=== RUN TestAccAWSSagemakerModelPackageGroup_description
=== PAUSE TestAccAWSSagemakerModelPackageGroup_description
=== RUN TestAccAWSSagemakerModelPackageGroup_tags
=== PAUSE TestAccAWSSagemakerModelPackageGroup_tags
=== RUN TestAccAWSSagemakerModelPackageGroup_disappears
=== PAUSE TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_basic
=== CONT TestAccAWSSagemakerModelPackageGroup_disappears
=== CONT TestAccAWSSagemakerModelPackageGroup_description
=== CONT TestAccAWSSagemakerModelPackageGroup_tags
=== CONT TestAccAWSSagemakerModelPackageGroup_disappears
resource_aws_sagemaker_model_package_group_test.go:163: Step 1/1 error: Error running apply: 2021/02/10 08:18:46 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.12.0
Error: error creating SageMaker Model Package Group tf-acc-test-8314827973041593631: UnknownOperationException: The requested operation is not supported in the called region.
status code: 400, request id: 0a6c864d-d77e-43a2-91f5-e906eefe46f8
=== CONT TestAccAWSSagemakerModelPackageGroup_description
resource_aws_sagemaker_model_package_group_test.go:93: Step 1/2 error: Error running apply: 2021/02/10 08:18:46 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.12.0
Error: error creating SageMaker Model Package Group tf-acc-test-3740237711744291030: UnknownOperationException: The requested operation is not supported in the called region.
status code: 400, request id: 3069b992-f9b9-4f85-a736-93685db778c4
=== CONT TestAccAWSSagemakerModelPackageGroup_tags
resource_aws_sagemaker_model_package_group_test.go:119: Step 1/4 error: Error running apply: 2021/02/10 08:18:46 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.12.0
Error: error creating SageMaker Model Package Group tf-acc-test-4268414703224873836: UnknownOperationException: The requested operation is not supported in the called region.
status code: 400, request id: fe2dbb2c-14bf-4491-ae55-039686df8caa
=== CONT TestAccAWSSagemakerModelPackageGroup_basic
resource_aws_sagemaker_model_package_group_test.go:65: Step 1/2 error: Error running apply: 2021/02/10 08:18:46 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.12.0
Error: error creating SageMaker Model Package Group tf-acc-test-6501003966160909864: UnknownOperationException: The requested operation is not supported in the called region.
status code: 400, request id: 076128f1-f182-4a92-b063-cb25303e0085
--- FAIL: TestAccAWSSagemakerModelPackageGroup_disappears (4.20s)
--- FAIL: TestAccAWSSagemakerModelPackageGroup_description (4.21s)
--- FAIL: TestAccAWSSagemakerModelPackageGroup_tags (4.22s)
--- FAIL: TestAccAWSSagemakerModelPackageGroup_basic (4.23s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 6.039s
FAIL
make: *** [testacc] Error 1 |
This has been released in version 3.28.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
Output from acceptance testing: