hashicorp / terraform-provider-awscc

Terraform AWS Cloud Control provider
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs
Mozilla Public License 2.0
255 stars 117 forks source link

Resource Suppression: list of undefined is not supported #1515

Open breathingdust opened 6 months ago

breathingdust commented 6 months ago

Community Note

Description

The emitter is currently unable to handle sets of undefined, so if the resource schema includes this structure then generation will fail.

Affected Resource(s)

Schema Definition

https://github.com/hashicorp/terraform-provider-awscc/blob/d1f668deabc299d8ef5c8bdfe50bfa9cb98bbeee/internal/service/cloudformation/schemas/AWS_IoTFleetWise_DecoderManifest.json#L378-L393

References

breathingdust commented 1 month ago

Terraform as a language does not offer a way to model union types in the schema. This means we are currently unable to support attributes defined with the OneOf qualifier.