Skip to content

Commit d9e7a7a

Browse files
committed
fix: pass repository params to CFN template and fix REPOSITORY_REF typo
1 parent 1d92de7 commit d9e7a7a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

hack/deploy-ide-cfn.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,13 @@ outfile=$(mktemp)
1010

1111
bash $SCRIPT_DIR/build-ide-cfn.sh $outfile
1212

13+
REPOSITORY_OWNER=${REPOSITORY_OWNER:-"aws-samples"}
14+
REPOSITORY_NAME=${REPOSITORY_NAME:-"eks-workshop-v2"}
15+
REPOSITORY_REF=${REPOSITORY_REF:-"main"}
16+
1317
aws cloudformation deploy --stack-name "$EKS_CLUSTER_NAME-ide" \
14-
--capabilities CAPABILITY_NAMED_IAM --disable-rollback --template-file $outfile
18+
--capabilities CAPABILITY_NAMED_IAM --disable-rollback --template-file $outfile \
19+
--parameter-overrides \
20+
RepositoryOwner="$REPOSITORY_OWNER" \
21+
RepositoryName="$REPOSITORY_NAME" \
22+
RepositoryRef="$REPOSITORY_REF"

0 commit comments

Comments
 (0)