Skip to content

Commit

Permalink
tiny change
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Sep 30, 2021
1 parent 3534bac commit 38065dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/meta/hcl_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func tuneForBlock(rb *hclwrite.Body, sch *schema.SchemaBlock, parentAttrNames []
schAttr, ok := sch.Attributes[attrName]
if !ok {
// This might because the provider under used is a newer one than the version where we ingest the schema information.
// This might happen when the user have some newer version provider installed in its local fs.
// This might happen when the user has a newer version provider installed in its local fs, and has set the "dev_overrides" for that provider.
// We simply remove that attribute from the config.
rb.RemoveAttribute(attrName)
continue
Expand Down

0 comments on commit 38065dd

Please sign in to comment.