What is the difference between Ref:
and !Ref
in AWS Cloudformation templates in YAML?
According to AWS docs, Ref: logicalName
is "syntax for the full function name" and !Ref logicalName
is "syntax for the short form". Is there functionally a difference between the full function name and short form. Can I just use either or?
You can use either. It's just syntactic sugar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With