Move cfn location

Fix deploy

Space seperated subnets
This commit is contained in:
Layla 2020-05-23 23:53:54 -04:00
parent 35c34a2155
commit 6a3b81a888
5 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,6 @@ jobs:
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: ecs-jenkins
template: cloudformation/top.yaml
template: cloudformation/jenkins/top.yaml
capabilities: "CAPABILITY_NAMED_IAM,CAPABILITY_IAM"
parameter-overrides: VpcId=${{ secrets.VPC_ID }},PublicSubnets=${{ secrets.SUBNET_IDS }},EcsCluster=${{ secrets.CLUSTER }},PortalCertificate=${{ secrets.CERTIFICATE }},Domain=${{ secrets.DOMAIN }}

View File

@ -85,7 +85,7 @@ Resources:
environment: !Ref environment
release: !Ref release
VpcId: !Ref VpcId
PublicSubnets: !Ref PublicSubnets
PublicSubnets: !Join [",", !Split [" ", !Ref PublicSubnets]]
PortalCertificate: !Ref PortalCertificate
#-------------------