Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta-Issue: Suppressed Resource Generation #156

Open
breathingdust opened this issue Sep 15, 2021 · 1 comment
Open

Meta-Issue: Suppressed Resource Generation #156

breathingdust opened this issue Sep 15, 2021 · 1 comment
Labels
code-generation Relates to the conversion of CloudFormation schema to Terraform schema at buildtime.

Comments

@breathingdust
Copy link
Member

breathingdust commented Sep 15, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
  • The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the Cloudformation Open Coverage Roadmap.

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
Copy link
Contributor

ewbankkit commented May 27, 2022

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

When we address #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: #527.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-generation Relates to the conversion of CloudFormation schema to Terraform schema at buildtime.
Projects
None yet
Development

No branches or pull requests

2 participants