Skip to content

Commit 56b1d6c

Browse files
authored
test(integ): fix pipeline template generation integ tests (#1557)
In #1512 we renamed the methods of `*PipelineStage` to `WorkloadTemplatePath` and `WorkloadTemplateConfigurationPath` instead of `ServiceTemplatePath` and `ServiceTemplateConfigurationPath`. This resulted in an error while generating the cfn template for the pipeline since we are depending on the old names. This change fixes that. _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 0bae9d4 commit 56b1d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cicd/pipeline_cfn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ Resources:
283283
ActionMode: CREATE_UPDATE
284284
StackName: {{$.AppName}}-{{$stage.Name}}-{{$svc}}
285285
Capabilities: CAPABILITY_NAMED_IAM
286-
TemplatePath: BuildOutput::infrastructure/{{$stage.ServiceTemplatePath $svc}}
287-
TemplateConfiguration: BuildOutput::infrastructure/{{$stage.ServiceTemplateConfigurationPath $svc}}
286+
TemplatePath: BuildOutput::infrastructure/{{$stage.WorkloadTemplatePath $svc}}
287+
TemplateConfiguration: BuildOutput::infrastructure/{{$stage.WorkloadTemplateConfigurationPath $svc}}
288288
# The ARN of the IAM role (in the env account) that
289289
# AWS CloudFormation assumes when it operates on resources
290290
# in a stack in an environment account.

0 commit comments

Comments
 (0)