Skip to content

Commit

Permalink
fix(app-delivery): action template filename incorrect
Browse files Browse the repository at this point in the history
Use the new `stack.templateFile` instead of hard-coding the template
file name (which was wrongfully using the YAML extension).

Fixes #3595
  • Loading branch information
Elad Ben-Israel committed Sep 8, 2019
1 parent 5da6b36 commit 8e629ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class PipelineDeployStackAction implements codepipeline.IAction {
changeSetName,
runOrder: createChangeSetRunOrder,
stackName: props.stack.stackName,
templatePath: props.input.atPath(`${props.stack.stackName}.template.yaml`),
templatePath: props.input.atPath(props.stack.templateFile),
adminPermissions: props.adminPermissions,
deploymentRole: props.role,
capabilities,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
},
"ActionMode": "CHANGE_SET_REPLACE",
"ChangeSetName": "CICD-ChangeSet",
"TemplatePath": "Artifact_CICDGitHubF8BA7ADD::CICD.template.yaml"
"TemplatePath": "Artifact_CICDGitHubF8BA7ADD::CICD.template.json"
},
"InputArtifacts": [
{
Expand Down

0 comments on commit 8e629ee

Please sign in to comment.