GetAtt, Text or Array? #15
Unanswered
denizdogan
asked this question in
Q&A
Replies: 1 comment
-
|
let exampleGetAtt =
assert
: JSON.render (toJSON (GetAtt "myELB.DNSName"))
≡ ''
{ "Fn::GetAtt": "myELB.DNSName" }
''actually I'm using GetAtt in another way, which is not documented but I think it will be more typefuly correct For all resources there is an let S3 = https://raw.githubusercontent.com/jcouyang/dhall-aws-cloudformation/0.9.69/cloudformation/AWS::S3::Bucket.dhall
in S3.GetAttr.DomainName "s3LogicName" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having a hard time understanding
GetAtt. The definition is currently:But the value should be an array, according to AWS documentation:
{ "Fn::GetAtt" : [ "logicalNameOfResource", "attributeName" ] }Is this a bug in the Dhall library or am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions