aws-cloudformation-resource-providers-codeartifact
aws-cloudformation-resource-providers-codeartifact copied to clipboard
Broken Test For Yishai
trafficstars
This is the hello world of creating a domain and repo and it doesn't work.
{
"Resources": {
"CodeArtifactDomain": {
"Type": "AWSdevToolsBeta::CodeArtifact::Domain",
"Properties": {
"DomainName": "richarddomain"
}
},
"CodeArtifactRepository": {
"Type": "AWSdevToolsBeta::CodeArtifact::Repository",
"Properties": {
"RepositoryName": "richardrepo",
"DomainName": {
"Fn::GetAtt": ["CodeArtifactDomain", "DomainName"]
},
"PermissionsPolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Action": "codeartifact:*",
"Effect": "Allow",
"Principal": "*",
"Resource": "*"
}
]
}
}
}
}
}
CFN throws the following error: Requested attribute DomainName must be a readonly property in schema for AWSdevToolsBeta::CodeArtifact::Domain
dependent on expansion of GetAtt beyond readOnlyProperties:
https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/68