generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Labels
code-generationRelates to the conversion of CloudFormation schema to Terraform schema at buildtime.Relates to the conversion of CloudFormation schema to Terraform schema at buildtime.enhancementthinkingupstream-awsUnable to proceed due to missing or broken functionality from an AWS dependency.Unable to proceed due to missing or broken functionality from an AWS dependency.upstream-terraform
Description
CloudFormation resource schema defined properties may include the anyOf indicator, for example AWS::DataBrew::Recipe:
"Action": {
"type": "object",
"properties": {
"Operation": {
"description": "Step action operation",
"type": "string"
},
"Parameters": {
"anyOf": [
{
"$ref": "#/definitions/RecipeParameters"
},
{
"$ref": "#/definitions/ParameterMap"
}
]
}
},
"additionalProperties": false,
"required": ["Operation"]
},
Currently our CloudFormation resource schema SDK ignores the anyOf indicator and when we come to generate a Terraform resource schema for the property it has no type.
It is not currently clear how to handle such properties.
Relates:
matthew-burkhard, BondAnthony and musaprg
Metadata
Metadata
Assignees
Labels
code-generationRelates to the conversion of CloudFormation schema to Terraform schema at buildtime.Relates to the conversion of CloudFormation schema to Terraform schema at buildtime.enhancementthinkingupstream-awsUnable to proceed due to missing or broken functionality from an AWS dependency.Unable to proceed due to missing or broken functionality from an AWS dependency.upstream-terraform