When I try spruce merge test1.yaml test2.yaml > test-all.yaml the result has all of the cloudformation functions (!Ref, !Sub, !GetAtt) silently removed.
Q. Is there a work-around?
Seems all spruce needs to do is to leave the cloudformation functions unchanged in values.
Here are links to the official AWS CloudFormation documentation pages for !Ref and !Sub:
When I try
spruce merge test1.yaml test2.yaml > test-all.yaml
the result has all of the cloudformation functions (!Ref, !Sub, !GetAtt) silently removed.Q. Is there a work-around? Seems all spruce needs to do is to leave the cloudformation functions unchanged in values.
Here are links to the official AWS CloudFormation documentation pages for
!Ref
and!Sub
:!Ref
: https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html!Sub
: https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.htmlExample