Skip to content

Commit

Permalink
fix: each services has set type.
Browse files Browse the repository at this point in the history
  • Loading branch information
tosuke committed Oct 31, 2024
1 parent 97b413d commit 2faaac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/data_source_mackerel_aws_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func schemaAWSIntegrationDataSource() schema.Schema {

for name, spec := range awsIntegrationServices {
if spec.supportsAutoRetire {
attrs[name] = schema.ListAttribute{
attrs[name] = schema.SetAttribute{
Computed: true,
ElementType: types.ObjectType{
AttrTypes: map[string]attr.Type{
Expand All @@ -116,7 +116,7 @@ func schemaAWSIntegrationDataSource() schema.Schema {
},
}
} else {
attrs[name] = schema.ListAttribute{
attrs[name] = schema.SetAttribute{
Computed: true,
ElementType: types.ObjectType{
AttrTypes: map[string]attr.Type{
Expand Down

0 comments on commit 2faaac1

Please sign in to comment.