From 13c65044dd5e719a56b1eb8b71ff9dd8e59982e0 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Fri, 15 Dec 2023 10:36:07 +0100 Subject: [PATCH] [Environments] Add cfn file to create demo environment + minor change to cfn file to update it. --- .../environments/demo-cfn-create-args.yaml | 38 +++++++++++++++++++ .../environments/demo-cfn-update-args.yaml | 4 +- 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 infrastructure/environments/demo-cfn-create-args.yaml diff --git a/infrastructure/environments/demo-cfn-create-args.yaml b/infrastructure/environments/demo-cfn-create-args.yaml new file mode 100644 index 00000000..6a19be57 --- /dev/null +++ b/infrastructure/environments/demo-cfn-create-args.yaml @@ -0,0 +1,38 @@ +TemplateURL: BUCKET_URL_PLACEHOLDER/parallelcluster-ui.yaml +Parameters: + - ParameterKey: AdminUserEmail + ParameterValue: my@email.com + - 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 diff --git a/infrastructure/environments/demo-cfn-update-args.yaml b/infrastructure/environments/demo-cfn-update-args.yaml index 290a37ac..7dfcc8ca 100644 --- a/infrastructure/environments/demo-cfn-update-args.yaml +++ b/infrastructure/environments/demo-cfn-update-args.yaml @@ -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