File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -394,6 +394,36 @@ Resources:
394394 - '" }'
395395 Capabilities : CAPABILITY_AUTO_EXPAND
396396 RoleArn : !Sub arn:aws:iam::${AWS::AccountId}:role/admin/CloudFormationService
397+ - Name : app-demo-deploy
398+ ActionTypeId :
399+ Category : Deploy
400+ Owner : AWS
401+ Version : 1
402+ Provider : CloudFormation
403+ InputArtifacts :
404+ - Name : appBuildResults
405+ # The value of `Configuration` must be an object with String (or simple type) properties
406+ Configuration :
407+ StackName :
408+ !If [
409+ TargetsMainBranch,
410+ " javabuilder-demo" ,
411+ !Sub "javabuilder-demo-${GitHubBranch}",
412+ ]
413+ ActionMode : CREATE_UPDATE
414+ TemplatePath : appBuildResults::packaged-app-template.yml
415+ TemplateConfiguration : appBuildResults::cicd/3-app/javabuilder/production-demo.config.json
416+ ParameterOverrides : !Join
417+ - " "
418+ - - '{ "SubdomainName" : " '
419+ - !If [
420+ TargetsMainBranch,
421+ " javabuilder-demo",
422+ !Sub "javabuilder-demo-${GitHubBranch}",
423+ ]
424+ - ' " }'
425+ Capabilities : CAPABILITY_AUTO_EXPAND
426+ RoleArn : !Sub arn:aws:iam::${AWS::AccountId}:role/admin/CloudFormationService
397427 - !Ref AWS::NoValue
398428
399429 - !If
Original file line number Diff line number Diff line change 1+ {
2+ "Parameters" : {
3+ "BaseDomainName" : " code.org" ,
4+ "SubdomainName" : " javabuilder-demo" ,
5+ "BaseDomainNameHostedZonedID" : " Z2LCOI49SCXUGU" ,
6+ "ProvisionedConcurrentExecutions" : " 50" ,
7+ "ReservedConcurrentExecutions" : " 500" ,
8+ "LimitPerHour" : " 25" ,
9+ "LimitPerDay" : " 100" ,
10+ "SilenceAlerts" : " false"
11+ },
12+ "Tags" : {
13+ "EnvType" : " production"
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments