Closed Shi-vasana closed 3 days ago
Voting for Prioritization
Volunteering to Work on This Issue
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
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!
Terraform Core Version
1.9.0
AWS Provider Version
5.63.1
Affected Resource(s)
aws_sagemaker_endpoint
Expected Behavior
When Terraform apply attempts to call
UpdateEndpoint
on anaws_sagemaker_endpoint
resource, it should ensure that the changes requested actually get applied.However, the
UpdateEndpoint
operation will succeed so long as it doesn't have any immediate errors in it (e.g. wrong permissions, invalid resources). If the endpoint is already in service, then the failure ofUpdateEndpoint
can result in that endpoint remaining in service, with a failure reason populated in theDescribeEndpoint
output.Actual Behavior
Terraform plan was applied with no indication of failure, but requested changes were not made.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
This cannot be deterministically reproduced easily. It happens when AWS runs into a service error when attempting to update the endpoint, which is populated in the
FailureReason
field inDescribeEndpoint
output:Note that
EndpointStatus
isInService
despite the presence of aFailureReason
, indicating that the pre-existing endpoint configuration remains in place.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None