Skip to content

Commit

Permalink
[Environments] Add cfn file to create demo environment + minor change…
Browse files Browse the repository at this point in the history
… to cfn file to update it.
  • Loading branch information
gmarciani committed Dec 15, 2023
1 parent 162a101 commit 13c6504
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions infrastructure/environments/demo-cfn-create-args.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
TemplateURL: BUCKET_URL_PLACEHOLDER/parallelcluster-ui.yaml
Parameters:
- ParameterKey: AdminUserEmail
ParameterValue: [email protected]
- ParameterKey: Version
ParameterValue: 3.8.0
- ParameterKey: InfrastructureBucket
ParameterValue: BUCKET_URL_PLACEHOLDER
- ParameterKey: PublicEcrImageUri
ParameterValue: public.ecr.aws/pcm/parallelcluster-ui:latest
# Use the value below if you want to deploy the local image of PCUI.
# ParameterValue: ACCOUNT_ID.dkr.ecr.REGION.amazonaws.com/parallelcluster-ui:latest
# - ParameterKey: UserPoolId
# ParameterValue: xxxxxxxxxx_xxxxxxxxxx
# - ParameterKey: UserPoolAuthDomain
# ParameterValue: https://xxxxxxxxxx.auth.xxxxxxxxxx.amazoncognito.com
# - ParameterKey: SNSRole
# ParameterValue: arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx
# - ParameterKey: ImageBuilderVpcId
# ParameterValue: vpc-xxxxxxxxxx
# - ParameterKey: ImageBuilderSubnetId
# ParameterValue: subnet-xxxxxxxxxx
# - ParameterKey: VpcEndpointId
# ParameterValue: vpce-xxxxxxxxxx
# - ParameterKey: LambdaSubnetIds
# ParameterValue: "subnet-xxxxxxxxxx,subnet-xxxxxxxxxx,subnet-xxxxxxxxxx"
# - ParameterKey: LambdaSecurityGroupIds
# ParameterValue: sg-xxxxxxxxxx
# - ParameterKey: PermissionsBoundaryPolicy
# ParameterValue: arn:aws:iam::xxxxxxxxxx:policy/xxxxxxxxxx
# - ParameterKey: PermissionsBoundaryPolicyPCAPI
# ParameterValue: arn:aws:iam::xxxxxxxxxx:policy/xxxxxxxxxx
# - ParameterKey: IAMRoleAndPolicyPrefix
# ParameterValue: xxxxxxxxxx
Capabilities:
- CAPABILITY_AUTO_EXPAND
- CAPABILITY_NAMED_IAM
DisableRollback: false
4 changes: 2 additions & 2 deletions infrastructure/environments/demo-cfn-update-args.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Parameters:
ParameterValue: BUCKET_URL_PLACEHOLDER
- ParameterKey: PublicEcrImageUri
ParameterValue: public.ecr.aws/pcm/parallelcluster-ui:latest
# Use the value below if you want to deploy the local image of PCUI.
# ParameterValue: DEMO_ACCOUNT_ID.dkr.ecr.DEMO_REGION.amazonaws.com/parallelcluster-ui:latest
# Use the value below if you want to deploy the local image of PCUI.
# ParameterValue: ACCOUNT_ID.dkr.ecr.REGION.amazonaws.com/parallelcluster-ui:latest
- ParameterKey: UserPoolId
UsePreviousValue: true
- ParameterKey: UserPoolAuthDomain
Expand Down

0 comments on commit 13c6504

Please sign in to comment.