We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8859f6c commit 626011eCopy full SHA for 626011e
internal/resources/cloudprovider/models.go
@@ -185,7 +185,7 @@ func (v awsCWScrapeJobNoDuplicateMetricNamesValidator) MarkdownDescription(ctx c
185
func (v awsCWScrapeJobNoDuplicateMetricNamesValidator) ValidateList(ctx context.Context, req validator.ListRequest, resp *validator.ListResponse) {
186
seen := map[string]struct{}{}
187
elems := make([]awsCWScrapeJobMetricTFModel, len(req.ConfigValue.Elements()))
188
- diags := req.ConfigValue.ElementsAs(ctx, &elems, false)
+ diags := req.ConfigValue.ElementsAs(ctx, &elems, true)
189
resp.Diagnostics.Append(diags...)
190
if diags.HasError() {
191
return
0 commit comments