Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ezilber-akamai committed Dec 27, 2024
1 parent 3e1c341 commit 59c79d4
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions linode/placementgroup/framework_datasource_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,18 @@ var DataSourceSchema = schema.Schema{
},
},
},
"migrations": schema.ListNestedBlock{
Description: "A list of migration objects associated with the placement group. Empty if no migrations exist.",
NestedObject: schema.NestedBlockObject{
Attributes: map[string]schema.Attribute{
"inbound": schema.ListAttribute{
Description: "The compute instances being migrated into the placement group.",
Computed: true,
ElementType: pgMigrationInstanceObjectType,
},
"outbound": schema.ListAttribute{
Description: "The compute instances being migrated out of the placement group.",
Computed: true,
ElementType: pgMigrationInstanceObjectType,
},
"migrations": schema.SingleNestedBlock{
Description: "An object representing migrations associated with the placement group. Contains inbound and outbound migration lists.",
Attributes: map[string]schema.Attribute{
"inbound": schema.ListAttribute{
Description: "The compute instances being migrated into the placement group.",
Computed: true,
ElementType: pgMigrationInstanceObjectType,
},
"outbound": schema.ListAttribute{
Description: "The compute instances being migrated out of the placement group.",
Computed: true,
ElementType: pgMigrationInstanceObjectType,
},
},
},
Expand Down

0 comments on commit 59c79d4

Please sign in to comment.