Skip to content

Commit

Permalink
fix: update url reference to nested stack
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstjn committed Mar 10, 2021
1 parent cdeb2cd commit ccba36a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/superwerker.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ Resources:
Notifications:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub ${TemplateUrlPrefix}/templates/notifications.yaml
TemplateURL:
Fn::Sub:
- 'https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/notifications.yaml'
- S3Region: !If [UsingDefaultBucket, !Sub '${AWS::Region}', !Ref QSS3BucketRegion]
S3Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
Parameters:
NotificationsMail: !Ref NotificationsMail

Expand Down

0 comments on commit ccba36a

Please sign in to comment.