I have a sam template with an OpenSearch Ingestion Pipeline resource defined below. According to the documentation PipelineConfigurationBody is meant to be a string of YAML. But this string could be huge, with a lot of string substitutions needed as well. Is there a way to somehow include YAML from another file with string substitutions?
PortfolioDataPipeline:
Type: AWS::OSIS::Pipeline
Properties:
PipelineConfigurationBody: <this is meant to be a yaml string>
I was looking for the same solution and did it this way.. Use
!Suband|together.