Skip to content

Commit 511ddda

Browse files
committed
todo
1 parent d227784 commit 511ddda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/registry/hykube/provider/hashicorp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ func (h *hashicorpProvider) addCDRs(schemaResponse *providers.GetSchemaResponse,
296296
attrItemType := h.attributeType(attrItemTypes)
297297
properties[attrK] = apiextensionv1.JSONSchemaProps{
298298
Type: attributeType,
299+
// TODO: handle nested array types e.g. E0912 13:04:45.166040 1 hashicorp.go:364] "cannot add resource type:aws_cloudfront_distribution" err="CustomResourceDefinition.apiextensions.k8s.io \"aws-cloudfront-distributions.aws.hykube.io\" is invalid: [spec.validation.openAPIV3Schema.properties[trusted_key_groups].items.properties[items].items: Required value: must be specified, spec.validation.openAPIV3Schema.properties[trusted_signers].items.properties[items].items: Required value: must be specified]"
299300
Items: &apiextensionv1.JSONSchemaPropsOrArray{
300301
Schema: &apiextensionv1.JSONSchemaProps{
301302
Type: attrItemType,

0 commit comments

Comments
 (0)