Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ func (m useStateForUnknownModifier) MarkdownDescription(_ context.Context) strin

// PlanModifyBool implements the plan modification logic.
func (m useStateForUnknownModifier) PlanModifyBool(_ context.Context, req planmodifier.BoolRequest, resp *planmodifier.BoolResponse) {
// Do nothing if there is no state value.
if req.StateValue.IsNull() {
// Do nothing if there is no state (resource is being created).
if req.State.Raw.IsNull() {
return
}

Expand Down
Loading