-
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/aws_sagemaker_domain: add studio_web_portal_settings and default_s… #38457
r/aws_sagemaker_domain: add studio_web_portal_settings and default_s… #38457
Conversation
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
Community NoteVoting for Prioritization
For Submitters
|
7be0971
to
e5b6672
Compare
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
Dear @DrFaust92 , For your kind review. |
ea51b09
to
21a7d76
Compare
Hi @jar-b, test issues are fixed now. Appreciate if you cam retrigger |
21a7d76
to
8005223
Compare
Dear @DrFaust92, if you can review and approve this one for domain please. |
Hello @deepakbshetty is there anyone on the AWS Provider team that can review & approve this PR? |
I would rely DrFaust92 in first place given maintainer for sagemaker and ultimately ewbankkit |
LGTM, i would add the same params for user_profile resource as well as it shared some of the expand functions. can be done in a different PR |
Dear @DrFaust92, Thanks for the review. PR for User profile under #38567 |
1b63474
to
9297a9f
Compare
…ace_settings additional blocks
9297a9f
to
1ffe176
Compare
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 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccSageMaker_serial/Domain' PKG=sagemaker
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.0 test ./internal/service/sagemaker/... -v -count 1 -parallel 20 -run=TestAccSageMaker_serial/Domain -timeout 720m
=== RUN TestAccSageMaker_serial
=== PAUSE TestAccSageMaker_serial
=== CONT TestAccSageMaker_serial
=== RUN TestAccSageMaker_serial/Domain
=== RUN TestAccSageMaker_serial/Domain/directDeploySettings
=== RUN TestAccSageMaker_serial/Domain/spaceSettingsSpaceStorageSettings
=== RUN TestAccSageMaker_serial/Domain/spaceSettingsCustomFileSystemConfigs
=== RUN TestAccSageMaker_serial/Domain/studioWebPortalSettings_hiddenAppTypes
=== RUN TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_customImage
domain_test.go:868: Environment variable SAGEMAKER_IMAGE_VERSION_BASE_IMAGE is not set
=== RUN TestAccSageMaker_serial/Domain/generativeAi
=== RUN TestAccSageMaker_serial/Domain/kendraSettings
=== RUN TestAccSageMaker_serial/Domain/efs
=== RUN TestAccSageMaker_serial/Domain/jupyterLabAppSettings
=== RUN TestAccSageMaker_serial/Domain/canvas
=== RUN TestAccSageMaker_serial/Domain/codeEditorAppSettings_defaultResourceSpecAndCustomImage
domain_test.go:762: Environment variable SAGEMAKER_IMAGE_VERSION_BASE_IMAGE is not set
=== RUN TestAccSageMaker_serial/Domain/kms
=== RUN TestAccSageMaker_serial/Domain/securityGroup
=== RUN TestAccSageMaker_serial/Domain/rStudioServerProAppSettings
=== RUN TestAccSageMaker_serial/Domain/spaceSettingsKernelGatewayAppSettings
=== RUN TestAccSageMaker_serial/Domain/tensorboardAppSettings
=== RUN TestAccSageMaker_serial/Domain/kernelGatewayAppSettings
=== RUN TestAccSageMaker_serial/Domain/defaultUserSettingsUpdated
=== RUN TestAccSageMaker_serial/Domain/disappears
=== RUN TestAccSageMaker_serial/Domain/sharingSettings
=== RUN TestAccSageMaker_serial/Domain/tags
=== RUN TestAccSageMaker_serial/Domain/code
=== RUN TestAccSageMaker_serial/Domain/domainSettings
=== RUN TestAccSageMaker_serial/Domain/rStudioServerProDomainSettings
acctest.go:1727: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: creating SageMaker Domain (d-phv6lvn91ohh): waiting for completion: unexpected state 'Failed', wanted target 'InService'. last error: ConfigurationError: Domain-level App [arn:aws:sagemaker:us-west-2:123456789012:app/d-phv6lvn91ohh/domain-shared/RStudioServerPro/default] failed to start: [ResourceNotFoundError: No available licenses were found. Validate that a license for RStudio Workbench exists in AWS License Manager that is in Active state.].
with aws_sagemaker_domain.test,
on terraform_plugin_test.tf line 86, in resource "aws_sagemaker_domain" "test":
86: resource "aws_sagemaker_domain" "test" {
=== RUN TestAccSageMaker_serial/Domain/spaceSettingsCustomPOSIXUserConfig
=== RUN TestAccSageMaker_serial/Domain/spaceStorageSettings
=== RUN TestAccSageMaker_serial/Domain/codeEditorAppSettings
=== RUN TestAccSageMaker_serial/Domain/modelRegisterSettings
=== RUN TestAccSageMaker_serial/Domain/jupyterServerAppSettings
=== RUN TestAccSageMaker_serial/Domain/identityProviderOauthSettings
=== RUN TestAccSageMaker_serial/Domain/workspaceSettings
=== RUN TestAccSageMaker_serial/Domain/spaceSettingsJupyterLabAppSettings
=== RUN TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_lifecycleConfig
=== RUN TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_defaultResourceAndCustomImage
domain_test.go:907: Environment variable SAGEMAKER_IMAGE_VERSION_BASE_IMAGE is not set
=== RUN TestAccSageMaker_serial/Domain/codeEditorAppSettings_customImage
domain_test.go:723: Environment variable SAGEMAKER_IMAGE_VERSION_BASE_IMAGE is not set
=== RUN TestAccSageMaker_serial/Domain/rSessionAppSettings
=== RUN TestAccSageMaker_serial/Domain/posix
=== RUN TestAccSageMaker_serial/Domain/studioWebPortalSettings_hiddenMlTools
=== RUN TestAccSageMaker_serial/Domain/basic
=== RUN TestAccSageMaker_serial/Domain/tensorboardAppSettingsWithImage
--- PASS: TestAccSageMaker_serial (9939.48s)
--- PASS: TestAccSageMaker_serial/Domain (9939.48s)
--- PASS: TestAccSageMaker_serial/Domain/directDeploySettings (331.80s)
--- PASS: TestAccSageMaker_serial/Domain/spaceSettingsSpaceStorageSettings (262.68s)
--- PASS: TestAccSageMaker_serial/Domain/spaceSettingsCustomFileSystemConfigs (467.70s)
--- PASS: TestAccSageMaker_serial/Domain/studioWebPortalSettings_hiddenAppTypes (261.72s)
--- SKIP: TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_customImage (0.00s)
--- PASS: TestAccSageMaker_serial/Domain/generativeAi (239.32s)
--- PASS: TestAccSageMaker_serial/Domain/kendraSettings (249.19s)
--- PASS: TestAccSageMaker_serial/Domain/efs (349.28s)
--- PASS: TestAccSageMaker_serial/Domain/jupyterLabAppSettings (240.68s)
--- PASS: TestAccSageMaker_serial/Domain/canvas (250.51s)
--- SKIP: TestAccSageMaker_serial/Domain/codeEditorAppSettings_defaultResourceSpecAndCustomImage (0.00s)
--- PASS: TestAccSageMaker_serial/Domain/kms (239.27s)
--- PASS: TestAccSageMaker_serial/Domain/securityGroup (265.68s)
--- PASS: TestAccSageMaker_serial/Domain/rStudioServerProAppSettings (277.65s)
--- PASS: TestAccSageMaker_serial/Domain/spaceSettingsKernelGatewayAppSettings (261.79s)
--- PASS: TestAccSageMaker_serial/Domain/tensorboardAppSettings (249.73s)
--- PASS: TestAccSageMaker_serial/Domain/kernelGatewayAppSettings (250.12s)
--- PASS: TestAccSageMaker_serial/Domain/defaultUserSettingsUpdated (258.10s)
--- PASS: TestAccSageMaker_serial/Domain/disappears (271.86s)
--- PASS: TestAccSageMaker_serial/Domain/sharingSettings (249.68s)
--- PASS: TestAccSageMaker_serial/Domain/tags (247.48s)
--- PASS: TestAccSageMaker_serial/Domain/code (251.49s)
--- PASS: TestAccSageMaker_serial/Domain/domainSettings (251.44s)
--- SKIP: TestAccSageMaker_serial/Domain/rStudioServerProDomainSettings (654.60s)
--- PASS: TestAccSageMaker_serial/Domain/spaceSettingsCustomPOSIXUserConfig (254.57s)
--- PASS: TestAccSageMaker_serial/Domain/spaceStorageSettings (251.89s)
--- PASS: TestAccSageMaker_serial/Domain/codeEditorAppSettings (250.20s)
--- PASS: TestAccSageMaker_serial/Domain/modelRegisterSettings (249.57s)
--- PASS: TestAccSageMaker_serial/Domain/jupyterServerAppSettings (239.78s)
--- PASS: TestAccSageMaker_serial/Domain/identityProviderOauthSettings (250.87s)
--- PASS: TestAccSageMaker_serial/Domain/workspaceSettings (240.54s)
--- PASS: TestAccSageMaker_serial/Domain/spaceSettingsJupyterLabAppSettings (251.21s)
--- PASS: TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_lifecycleConfig (249.22s)
--- SKIP: TestAccSageMaker_serial/Domain/kernelGatewayAppSettings_defaultResourceAndCustomImage (0.00s)
--- SKIP: TestAccSageMaker_serial/Domain/codeEditorAppSettings_customImage (0.00s)
--- PASS: TestAccSageMaker_serial/Domain/rSessionAppSettings (250.09s)
--- PASS: TestAccSageMaker_serial/Domain/posix (249.54s)
--- PASS: TestAccSageMaker_serial/Domain/studioWebPortalSettings_hiddenMlTools (262.66s)
--- PASS: TestAccSageMaker_serial/Domain/basic (249.30s)
--- PASS: TestAccSageMaker_serial/Domain/tensorboardAppSettingsWithImage (308.28s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 9944.342s
@deepakbshetty Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.67.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. |
Description
r/aws_sagemaker_domain
Add
default_user_settings.studio_web_portal_settings
blockAdd
default_space_settings.jupyter_lab_app_settings
blockAdd
default_space_settings.space_storage_settings
blockAdd
default_space_settings.custom_posix_user_config
blockAdd
default_space_settings.custom_file_system_config
blockRelations
Closes #38240
Closes #38150
References
StudioWebPortalSettings API
DefaultSpaceSettings API
Output from Acceptance Testing