Open jbrmg opened 2 years ago
Please note that this issue has not been resolved with 0.4.3 as the supposed bugfix was incomplete.
needs to be changed to
payload.Data.Attributes.Configuration.Filter.RiskLevels = expandStringList(f["risk_levels"].(*schema.Set).List())
and
needs to be changed to
RiskLevels []string `json:"riskLevels,omitempty"`
Hi,
the
risk_levels
filter on theconformity_report_config
cannot be set successfully as the Terraform provider uses typestring
but the backend requires an array.Example:
Error response from backend:
Ideally, the Terraform provided would support array instead of string so that multiple risk_levels can be provided for any given filter.