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.resource-suppressionIssue that prevents a resource from being generated.Issue that prevents a resource from being generated.upstream-terraform
Description
AWS::WAFv2::RuleGroup and AWS::WAFv2::WebACL have recursive attribute definitions such as
"Statement": {
"properties": {
"AndStatement": {
"$ref": "#/definitions/AndStatement"
},
}
}
"AndStatement": {
"properties": {
"Statements": {
"type": "array",
"items": {
"$ref": "#/definitions/Statement"
}
}
}
}
which lead to Go panics during Terraform schema code generation.
For now we are not generating these resources but we should attempt to solve by capping the number of levels of recursion as we do in the current provider: https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/resource_aws_wafv2_web_acl.go#L131.
Relates:
wellsiau-aws
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.resource-suppressionIssue that prevents a resource from being generated.Issue that prevents a resource from being generated.upstream-terraform