Currently environments attribute in data source and resource DLP Policies if an array of objects but its enough for it to be a simple array for strings (env IDs). Anyways the Env Id is marked as "name" which is wrong, because the attribute should be "id" instead.
Sample Terraform Code
Now
...
environments = [
{
name = "21a754f7-06e7-eb31-8266-bfe55ae1b358"
},
{
name = "7e0b37a6-fa02-ea7f-892a-79a933960d43"
},
]
...
Describe the bug
Currently
environments
attribute in data source and resource DLP Policies if an array of objects but its enough for it to be a simple array for strings (env IDs). Anyways the Env Id is marked as "name" which is wrong, because the attribute should be "id" instead.Sample Terraform Code
Now
Expected behavior
Contribution
Do you plan to raise a PR to address this issue?