-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Actions: handle providers deferring actions #37465
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
Conversation
19ab98b to
56fcd00
Compare
56fcd00 to
1ec74c7
Compare
f1aab13 to
aee6078
Compare
liamcervante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
internal/terraform/context_plan.go
Outdated
| } | ||
|
|
||
| if !schemaDiags.HasErrors() { | ||
| deferredResources, deferredDiags := c.deferredResources(config, walker.Deferrals.GetDeferredChanges(), priorState) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you could refactor this so it uses the shared schemas as well?
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR adds a lot of logistics around deferrals and makes providers reporting deferrals be reflected in the plan (and the dependent actions / resources).
I omitted the expansion of resources with unknown values from this PR and will do it in a follow up to limit the scope a bit.
Fixes #
Target Release
1.14.x
Rollback Plan
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
CHANGELOG entry