Skip to content

Commit

Permalink
Import for basetypes is required when generating custom type and valu…
Browse files Browse the repository at this point in the history
…e types for nested attributes/blocks
  • Loading branch information
bendbennett committed Sep 11, 2023
1 parent fdd6564 commit aa72df5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ func (g GeneratorSchema) ImportsString() (string, error) {
{
Path: TfTypesImport,
},
{
Path: BaseTypesImport,
},
}...)
}
}
Expand Down Expand Up @@ -88,6 +91,9 @@ func (g GeneratorSchema) ImportsString() (string, error) {
{
Path: TfTypesImport,
},
{
Path: BaseTypesImport,
},
}...)
}
}
Expand Down

0 comments on commit aa72df5

Please sign in to comment.