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

r/sagemaker_app_image_config - tagging support #21037

Merged
merged 3 commits into from
Sep 27, 2021

Conversation

DrFaust92
Copy link
Collaborator

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" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #17267

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSSagemakerAppImageConfig_'
--- PASS: TestAccAWSSagemakerAppImageConfig_tags (126.57s)
--- PASS: TestAccAWSSagemakerAppImageConfig_disappears (38.97s)
--- PASS: TestAccAWSSagemakerAppImageConfig_basic (54.48s)
--- PASS: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig (92.85s)
--- PASS: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs (93.16s)

@github-actions github-actions bot added 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. size/M Managed by automation to categorize the size of a PR. labels Sep 24, 2021
@DrFaust92 DrFaust92 changed the title tagging support r/sagemaker_app_image_config - tagging support Sep 24, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Sep 24, 2021
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 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccAWSSagemakerAppImageConfig_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerAppImageConfig_ -timeout 180m
=== RUN   TestAccAWSSagemakerAppImageConfig_basic
=== PAUSE TestAccAWSSagemakerAppImageConfig_basic
=== RUN   TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
=== PAUSE TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
=== RUN   TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== PAUSE TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== RUN   TestAccAWSSagemakerAppImageConfig_tags
--- PASS: TestAccAWSSagemakerAppImageConfig_tags (39.27s)
=== RUN   TestAccAWSSagemakerAppImageConfig_disappears
=== PAUSE TestAccAWSSagemakerAppImageConfig_disappears
=== CONT  TestAccAWSSagemakerAppImageConfig_basic
=== CONT  TestAccAWSSagemakerAppImageConfig_disappears
=== CONT  TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== CONT  TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
--- PASS: TestAccAWSSagemakerAppImageConfig_disappears (11.81s)
--- PASS: TestAccAWSSagemakerAppImageConfig_basic (18.62s)
--- PASS: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs (28.55s)
--- PASS: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig (28.63s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	72.043s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSSagemakerAppImageConfig_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerAppImageConfig_ -timeout 180m
=== RUN   TestAccAWSSagemakerAppImageConfig_basic
=== PAUSE TestAccAWSSagemakerAppImageConfig_basic
=== RUN   TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
=== PAUSE TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
=== RUN   TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== PAUSE TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== RUN   TestAccAWSSagemakerAppImageConfig_tags
    provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating SageMaker App Image Config tf-acc-test-2182612525913038698: UnknownOperationException: The requested operation is not supported in the called region.
        	status code: 400, request id: 1ac3039c-f26a-4ebf-aefd-6bdb3e9a40b5
        
          with aws_sagemaker_app_image_config.test,
          on terraform_plugin_test.tf line 2, in resource "aws_sagemaker_app_image_config" "test":
           2: resource "aws_sagemaker_app_image_config" "test" {
        
--- SKIP: TestAccAWSSagemakerAppImageConfig_tags (7.06s)
=== RUN   TestAccAWSSagemakerAppImageConfig_disappears
=== PAUSE TestAccAWSSagemakerAppImageConfig_disappears
=== CONT  TestAccAWSSagemakerAppImageConfig_basic
=== CONT  TestAccAWSSagemakerAppImageConfig_disappears
=== CONT  TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
=== CONT  TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs
    provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating SageMaker App Image Config tf-acc-test-960540878927424977: UnknownOperationException: The requested operation is not supported in the called region.
        	status code: 400, request id: 7a121b66-4883-44e0-92f3-c0f4ab729b03
        
          with aws_sagemaker_app_image_config.test,
          on terraform_plugin_test.tf line 2, in resource "aws_sagemaker_app_image_config" "test":
           2: resource "aws_sagemaker_app_image_config" "test" {
        
=== CONT  TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig
    provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating SageMaker App Image Config tf-acc-test-7244299768865873010: UnknownOperationException: The requested operation is not supported in the called region.
        	status code: 400, request id: 02238519-0ee3-45cd-b677-0e16a8c71b6d
        
          with aws_sagemaker_app_image_config.test,
          on terraform_plugin_test.tf line 2, in resource "aws_sagemaker_app_image_config" "test":
           2: resource "aws_sagemaker_app_image_config" "test" {
        
=== CONT  TestAccAWSSagemakerAppImageConfig_disappears
    provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating SageMaker App Image Config tf-acc-test-2782759367032066965: UnknownOperationException: The requested operation is not supported in the called region.
        	status code: 400, request id: 9a837349-7559-4502-8912-8d7cbd5dfe2d
        
          with aws_sagemaker_app_image_config.test,
          on terraform_plugin_test.tf line 2, in resource "aws_sagemaker_app_image_config" "test":
           2: resource "aws_sagemaker_app_image_config" "test" {
        
--- SKIP: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_kernalSpecs (7.26s)
=== CONT  TestAccAWSSagemakerAppImageConfig_basic
    provider_test.go:1166: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: error creating SageMaker App Image Config tf-acc-test-6231008382851646726: UnknownOperationException: The requested operation is not supported in the called region.
        	status code: 400, request id: fd324d22-6a51-4ea3-9760-7dc4d35e4e1b
        
          with aws_sagemaker_app_image_config.test,
          on terraform_plugin_test.tf line 2, in resource "aws_sagemaker_app_image_config" "test":
           2: resource "aws_sagemaker_app_image_config" "test" {
        
--- SKIP: TestAccAWSSagemakerAppImageConfig_kernelGatewayImageConfig_fileSystemConfig (7.40s)
--- SKIP: TestAccAWSSagemakerAppImageConfig_disappears (7.48s)
--- SKIP: TestAccAWSSagemakerAppImageConfig_basic (7.50s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	20.541s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 98c17ba into hashicorp:main Sep 27, 2021
@github-actions github-actions bot added this to the v3.61.0 milestone Sep 27, 2021
@DrFaust92 DrFaust92 deleted the r/sagemaker_app_image_config_tags branch September 27, 2021 13:09
@github-actions
Copy link

github-actions bot commented Oct 7, 2021

This functionality has been released in v3.61.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

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 Jun 18, 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/M 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.

Sagemaker App Image Config - add tagging support
2 participants