Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
539 views
in Technique[技术] by (71.8m points)

amazon web services - How can I specify cloudformation template file in codebuild action when using CDK?

I am writing a codepipeline with AWS CDK and there is one action I can't figure out how to implement.

When using cloudformation, I can have below actions in codepipeline:

AppPipeline:
    Type: 'AWS::CodePipeline::Pipeline'
    Properties:
       Stages:
         ...
         - Name: 
           Actions:

             - Name:
               Configuration:
                  ...
                  TemplatePath: !Sub "SourceOutput::${TemplateFile}"

I can put a cloudformation template file and referent it in TemplatePath. Codepipeline will create this action from the template file. I wonder how I can achieve this in CDK?

question from:https://stackoverflow.com/questions/65910736/how-can-i-specify-cloudformation-template-file-in-codebuild-action-when-using-cd

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...