Skip to content

Commit

Permalink
Update quickstart.sh scripts for async execution (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Enright <[email protected]>
  • Loading branch information
jimright committed May 31, 2024
1 parent 5a970db commit c7b6dec
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion aws/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@
export TF_VAR_aws_region="${1:-""}"
export TF_VAR_env_prefix="${2:-""}"
export TF_VAR_deployment_template="${3:-"semi-private"}"
export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_create_vpc_endpoints="false"
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"

# Install Terraform
curl -fsSL https://releases.hashicorp.com/terraform/1.7.1/terraform_1.7.1_linux_amd64.zip -o terraform.zip
unzip -o terraform.zip -d ${HOME}
rm terraform.zip

# Checkout CDP Quickstart Repository
git clone --branch v0.5.0 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
git clone --branch v0.6.1 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
cd cdp-tf-quickstarts/aws

# Install CDP CLI and Log In
Expand Down
5 changes: 4 additions & 1 deletion azure/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
export TF_VAR_azure_region"=${1:-""}"
export TF_VAR_env_prefix="${2:-""}"
export TF_VAR_deployment_template="${4:-"semi-private"}"
export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"

# Checkout CDP Quickstart Repository
git clone --branch v0.5.0 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
git clone --branch v0.6.1 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
cd cdp-tf-quickstarts/azure

# Install CDP CLI and Log In
Expand Down
5 changes: 4 additions & 1 deletion gcp/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ export TF_VAR_gcp_project="${1:-""}"
export TF_VAR_gcp_region="${2:-""}"
export TF_VAR_env_prefix="${3:-""}"
export TF_VAR_deployment_template="${4:-"semi-private"}"
export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"

# Checkout CDP Quickstart Repository
git clone --branch v0.5.0 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
git clone --branch v0.6.1 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
cd cdp-tf-quickstarts/gcp

# Install CDP CLI and Log In
Expand Down

0 comments on commit c7b6dec

Please sign in to comment.