hashicorp / terraform-provider-awscc

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

Meta-Issue: Suppressed Resource Generation #156

Open breathingdust opened 3 years ago

breathingdust commented 3 years ago

Community Note

Description

Some resources are unable to be generated either due to to inconsistencies in schema definition, or if the schema requires special handling that our code-generation is unable to handle as yet. This meta-issue serves to collate the set of suppressed resources.

The supression is configured in the following file:

https://github.com/hashicorp/terraform-provider-awscc/blob/main/internal/provider/all_schemas.hcl

ewbankkit commented 2 years ago
awscc_mediatailor_playback_configuration
    "ConfigurationAliases": {
      "description": "The predefined aliases for dynamic variables.",
      "additionalProperties": false,
      "patternProperties": {
        "": {
          "type": "object"
        }
      }
    },

When we address https://github.com/hashicorp/terraform-provider-awscc/issues/514 we can handle this as a map of JSON strings.

awscc_rekognition_stream_processor
    "Polygon": {
      "description": "A polygon showing a region of interest. Note that the ordering of the Point entries matter in defining the polygon",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": true,
      "minItems": 3,
      "items": {
        "$ref": "#/definitions/Point"
      }
    },
    "PolygonRegionsOfInterest": {
      "description": "The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "minItems": 0,
      "items": {
        "$ref": "#/definitions/Polygon"
      }
    },

We cannot currently handle arrays of arrays - I'll open an issue for this: https://github.com/hashicorp/terraform-provider-awscc/issues/527.