-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: aws_sagemaker_app still get persisted in spite of failure state #27265
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hi hungluong5791, would you mind sharing an example for a failing config to reproduce? |
Hi @DrFaust92, working config is here: Gist |
I'm hitting the same issue, any workaround? I tried to |
Hi @JohnPaton, the only workaround I have is delete the App in question and recreate, using
|
This functionality has been released in v4.47.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.2.9
AWS Provider Version
4.34.0
Affected Resource(s)
During the provisioning of
aws_sagemaker_app
if there is an error that put the App in aFailed
state (i.e a Lifecycle Configuration script error), theaws_sagemaker_app
is still persisted in the Terraform state. This results in error trying to refresh its status in subsequent runsExpected Behavior
aws_sagemaker_app
in aFailed
state should not be persisted in the Terraform stateActual Behavior
aws_sagemaker_app
in aFailed
stabe persisted in the Terraform state, requiring manual removal to re-createRelevant Error/Panic Output Snippet
Terraform Configuration Files
https://gist.github.com/hungluong5791/4836adc3832c8b285dab635d6cf32d91
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?
No response
The text was updated successfully, but these errors were encountered: