Defining a simple default_space_settings or default_user_settings using the aws_sagemaker_domain for apps like JupyterLab should ignore optional values and not force them on every terraform run/apply. This causes to use not desired values/omit the default ones.
Actual Behavior
Applying the following code under aws_sagemaker_domain:
Error: updating SageMaker Space: operation error SageMaker: UpdateSpace, https response error StatusCode: 400, RequestID: b09d1b8f-33ae-4bc3-aa83-e8aeee0a65ae, api error ValidationException: Updating AppType for Space is not supported.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.9.2
AWS Provider Version
5.73.0
Affected Resource(s)
Expected Behavior
default_space_settings
ordefault_user_settings
using theaws_sagemaker_domain
for apps like JupyterLab should ignoreoptional
values and not force them on every terraform run/apply. This causes to use not desired values/omit the default ones.Actual Behavior
Applying the following code under
aws_sagemaker_domain
:And subsequent runs after applied produces terraform to change:
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None