Skip to content

Commit

Permalink
change aws parameters to be lower-case where necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
orbific authored and Tcharl committed Jun 23, 2019
1 parent 2b38082 commit 4d434cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/aws-containers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ module.exports = class extends BaseGenerator {
const done = this.async;

const promises = this.aws.apps.map(app => {
const from = `${app.baseName}:latest`;
const from = `${app.baseName.toLowerCase()}:latest`;
const to = `${app.EcrRepositoryUri}:latest`;
return dockerCli
.tagImage(from, to)
Expand Down
2 changes: 1 addition & 1 deletion generators/aws-containers/templates/base.template.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Resources:
Properties:
Parameters:
parentStackName: !Ref AWS::StackName
repositoryName: <%= aws.cloudFormationName%>/<%= app.baseName %>
repositoryName: <%= aws.cloudFormationName.toLowerCase() %>/<%= app.baseName.toLowerCase() %>
shouldDeployService: !Ref shouldDeployService
databasePassword: !Ref <%= app.baseName %>DBPassword
TemplateURL: !Join [ '', [ 'https://s3.amazonaws.com/',!Ref applicationStackS3Bucket, '/<%= app.baseName %>.template.yml'] ]
Expand Down

0 comments on commit 4d434cf

Please sign in to comment.