Skip to content

Commit

Permalink
Support Pulumi Cloud in quickstart.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjjung committed Jan 28, 2025
1 parent b8ab248 commit ff91020
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
# Run this script, supplying the arguments outlined below in this specific order:
#
# ./quickstart.sh \
# /path/to/project/root \ # The root of your code project where you want to set up a pulumi project
# pulumi-state-s3-bucket-name \ # S3 bucket where you'll store your pulumi state files
# project_name, \ # Name of your project as it will be known to pulumi
# stack_name, \ # Name of the first stack you want to create
# [code_version] # Code version (git branch) that you want to pin. Optional; defaults to "main"
# /path/to/project/root \ # The root of your code project where you want to set up a pulumi project
# pulumi-login-url \ # URL to use with `pulumi login`; use "https://api.pulumi.com" for Pulumi Cloud
# project_name, \ # Name of your project as it will be known to pulumi
# stack_name, \ # Name of the first stack you want to create
# [code_version] # Code version (git branch) that you want to pin. Optional; defaults to "main"
#
###

# Internalize some variables
CODE_PATH=$1
BUCKET_NAME=$2
LOGIN_URL=$2
PROJECT_NAME=$3
STACK_NAME=$4

Expand Down Expand Up @@ -60,7 +60,7 @@ if [ -f Pulumi.yaml ]; then
fi

echo "Logging in to pulumi"
pulumi login s3://$BUCKET_NAME
pulumi login $LOGIN_URL

echo "Setting up new pulumi project"
pulumi new aws-python --name $PROJECT_NAME --stack $STACK_NAME
Expand Down

0 comments on commit ff91020

Please sign in to comment.