The empty jupyter_lab_image_config block is meaningful and should be persisted.
Actual Behavior
The empty jupyter_lab_image_config block is not persisted. Note that terraform apply succeeds, but an InternalFailure error occurs when JupyterLab starts. In addition, a plan diff still remains after apply and never converge.
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.8.4
AWS Provider Version
5.51.1
Affected Resource(s)
Expected Behavior
The empty
jupyter_lab_image_config
block is meaningful and should be persisted.Actual Behavior
The empty
jupyter_lab_image_config
block is not persisted. Note that terraform apply succeeds, but anInternalFailure
error occurs when JupyterLab starts. In addition, a plan diff still remains after apply and never converge.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
You can see that the plan diff is still there after apply.
The resource doesn't contain the
“JupyterLabAppImageConfig”:{}
parameter.Debug Output
I checked the trace log and the API request for UpdateAppImageConfig did not contain the
“JupyterLabAppImageConfig”:{}
parameter.Panic Output
No response
Important Factoids
As already mentioned in https://github.com/hashicorp/terraform-provider-aws/issues/36828#issuecomment-2051395207, it is possible to persist the
jupyter_lab_image_config
by including an emptycontainer_config
block.However, this doesn't persist the empty container_config and results in a plan diff after apply.
A temporary workaround is to specify
ignore_changes
tocontainer_config
.References
https://github.com/hashicorp/terraform-provider-aws/issues/36828
Would you like to implement a fix?
None