hashicorp / aws-cloudformation-resource-schema-sdk-go

This package provides AWS CloudFormation Resource Schema functionality in Go
Mozilla Public License 2.0
5 stars 2 forks source link

Support `relationshipRef` property #53

Closed ewbankkit closed 7 months ago

ewbankkit commented 7 months ago

Recent CloudFormation resource schemas include the relationshipRef` property.

downloading CloudFormation Resource Provider Schema to "/var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_ECS_Cluster.json"
error loading CloudFormation Resource Provider Schema for aws_ecs_cluster: validating /var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_ECS_Cluster.json: Validation Errors: 9 errors occurred:
    * definitions.CapacityProviderStrategyItem.properties.CapacityProvider: Additional property relationshipRef is not allowed
    * definitions.CapacityProviderStrategyItem.properties.CapacityProvider: Must validate all the schemas (allOf)
    * definitions.CapacityProviderStrategyItem: Must validate all the schemas (allOf)
    * definitions.ExecuteCommandLogConfiguration.properties.CloudWatchLogGroupName: Additional property relationshipRef is not allowed
    * definitions.ExecuteCommandLogConfiguration.properties.CloudWatchLogGroupName: Must validate all the schemas (allOf)
    * definitions.ExecuteCommandLogConfiguration: Must validate all the schemas (allOf)
    * definitions.ExecuteCommandConfiguration.properties.KmsKeyId: Additional property relationshipRef is not allowed
    * definitions.ExecuteCommandConfiguration.properties.KmsKeyId: Must validate all the schemas (allOf)
    * definitions.ExecuteCommandConfiguration: Must validate all the schemas (allOf)

downloading CloudFormation Resource Provider Schema to "/var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_S3_MultiRegionAccessPoint.json"
error loading CloudFormation Resource Provider Schema for aws_s3_multi_region_access_point: validating /var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_S3_MultiRegionAccessPoint.json: Validation Errors: 3 errors occurred:
    * definitions.Region.properties.Bucket: Additional property relationshipRef is not allowed
    * definitions.Region.properties.Bucket: Must validate all the schemas (allOf)
    * definitions.Region: Must validate all the schemas (allOf)

downloading CloudFormation Resource Provider Schema to "/var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_SSM_Association.json"
error loading CloudFormation Resource Provider Schema for aws_ssm_association: validating /var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/87186398/AWS_SSM_Association.json: Validation Errors: 7 errors occurred:
    * definitions.S3BucketName: Additional property relationshipRef is not allowed
    * definitions.S3BucketName: Must validate all the schemas (allOf)
    * definitions.Target.properties.Values.items.anyOf.0: Additional property relationshipRef is not allowed
    * definitions.Target.properties.Values.items.anyOf.0: Must validate all the schemas (allOf)
    * definitions.Target.properties.Values.items: Must validate all the schemas (allOf)
    * definitions.Target.properties.Values: Must validate all the schemas (allOf)
    * definitions.Target: Must validate all the schemas (allOf)

Support it.

Relates https://github.com/aws-cloudformation/cloudformation-resource-schema/issues/151.