Skip to content

Commit

Permalink
booleans are hard
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Jan 31, 2024
1 parent 06c507a commit bddf47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (r Resource) ToResource() *schema.Resource {
Timeouts: r.Timeouts,
DeprecationMessage: r.DeprecationMessage,
}
if r.IsAccountLevelOnly {
if !r.IsAccountLevelOnly {
r.Schema = AddWorkspaceIdField(r.Schema)
}
if resource.Importer == nil {
Expand Down

0 comments on commit bddf47f

Please sign in to comment.