Skip to content

Commit 82372c1

Browse files
committed
Add clarifying comment about re-attached providers when finding the matching entry in required_providers
1 parent eb25f2f commit 82372c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/configs/state_store.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ func resolveStateStoreProviderType(requiredProviders map[string]*RequiredProvide
124124
return tfaddr.Provider{}, diags
125125
default:
126126
// We've got a required_providers entry to use
127+
// This code path is used for both re-attached providers
128+
// providers that are fully managed by Terraform.
127129
return addr.Type, nil
128130
}
129131
}

0 commit comments

Comments
 (0)