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

New property relationshipRef not in provider.definition.schema.v1.json #151

Open
ewbankkit opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@ewbankkit
Copy link

ewbankkit commented Apr 3, 2024

Recent updates to some CloudFormation resource schemas

  • AWS::ECS::Cluster
  • AWS::S3::MultiRegionAccessPoint
  • AWS::SSM::Association

have added a new property, relationshipRef , to certain properties, e.g.

        "Region": {
            "type": "object",
            "properties": {
                "Bucket": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 63,
                    "pattern": "^[a-z0-9][a-z0-9//.//-]*[a-z0-9]$",
                    "relationshipRef": {
                        "typeName": "AWS::S3::Bucket",
                        "propertyPath": "/properties/BucketName"
                    }
                }, 
                "BucketAccountId": {
                    "type": "string",
                    "minLength": 12,
                    "maxLength": 12,
                    "pattern": "^[0-9]{12}$"
                }
            },
            "required": [
                "Bucket"
            ],
            "additionalProperties": false
        }

This property has not been added to https://github.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/provider.definition.schema.v1.json, so validation of these resource schemas against the meta-schema are failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant