Skip to content

Commit 1613462

Browse files
committed
fix: nil relaxing in mackerel_aws_integration
1 parent 055a32a commit 1613462

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/provider/resource_mackerel_aws_integration.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ func schemaAWSIntegrationResource() schema.Schema {
195195
Description: schemaAWSIntegrationServiceExcludedMetricsDesc,
196196
ElementType: types.StringType,
197197
Optional: true,
198+
Computed: true,
199+
PlanModifiers: []planmodifier.List{
200+
planmodifierutil.NilRelaxedList(),
201+
},
198202
},
199203
},
200204
},
@@ -220,6 +224,10 @@ func schemaAWSIntegrationResource() schema.Schema {
220224
Description: schemaAWSIntegrationServiceExcludedMetricsDesc,
221225
ElementType: types.StringType,
222226
Optional: true,
227+
Computed: true,
228+
PlanModifiers: []planmodifier.List{
229+
planmodifierutil.NilRelaxedList(),
230+
},
223231
},
224232
"retire_automatically": schema.BoolAttribute{
225233
Description: schemaAWSIntegrationServiceRetireAutomaticallyDesc,

0 commit comments

Comments
 (0)