hashicorp / terraform-provider-awscc

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

Resource Suppression: `awscc_bedrock_flow` #1907

Open ewbankkit opened 1 month ago

ewbankkit commented 1 month ago

Community Note

Description

The emitter is currently unable to handle key-value map of unknown type, so if the resource schema includes this structure then generation will fail.

Affected Resource(s)

Schema Definition

    "DefinitionSubstitutions": {
      "type": "object",
      "description": "When supplied with DefinitionString or DefinitionS3Location, substrings in the definition matching ${keyname} will be replaced with the associated value from this map",
      "additionalProperties": false,
      "patternProperties": {
        "": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "boolean"
            }
          ]
        }
      },
      "minProperties": 1,
      "maxProperties": 500
    },

References

breathingdust commented 1 week 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 AnyOf qualifier.