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

fix sagemaker user_profile r_studio_server_pro_app_settings drift #35477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changelog/35477.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:bug
resource/aws_sagemaker_domain: Fix drift `default_user_settings.r_studio_server_pro_domain_settings` by removing default value for `user_group` when block is not defined
resource/aws_sagemaker_user_profile: Fix drift `default_user_settings.r_studio_server_pro_domain_settings` by removing default value for `user_group` when block is not defined
```
1 change: 0 additions & 1 deletion internal/service/sagemaker/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,6 @@ func resourceDomain() *schema.Resource {
"user_group": {
Type: schema.TypeString,
Optional: true,
Default: awstypes.RStudioServerProUserGroupUser,
ValidateDiagFunc: enum.Validate[awstypes.RStudioServerProUserGroup](),
},
},
Expand Down
1 change: 0 additions & 1 deletion internal/service/sagemaker/user_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ func resourceUserProfile() *schema.Resource {
"user_group": {
Type: schema.TypeString,
Optional: true,
Default: awstypes.RStudioServerProUserGroupUser,
ValidateDiagFunc: enum.Validate[awstypes.RStudioServerProUserGroup](),
},
},
Expand Down
Loading