Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/apply-database-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipenv install --dev --system --deploy
echo "Done."

echo "Getting credentials..."
app_vars=$(cf curl /v2/apps/$guid/env)
app_vars=$(cf curl /v3/apps/$guid/env)

db_creds=$(echo $app_vars | jq -r '.system_env_json.VCAP_SERVICES."aws-rds"[0].credentials')
connection_str=$(echo $db_creds | jq -r '[.host, .port]' | jq -r 'join(":")')
Expand Down
4 changes: 2 additions & 2 deletions scripts/cf-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ else
apt-get update
apt-get install curl wget gnupg2 apt-transport-https jq
fi
wget https://github.com/cloudfoundry/cli/releases/download/v8.10.0/cf8-cli_8.10.0_linux_x86-64.tgz
tar -xvf cf8-cli_8.10.0_linux_x86-64.tgz
wget https://github.com/cloudfoundry/cli/releases/download/v8.19.0/cf8-cli_8.19.0_linux_x86-64.tgz
tar -xvf cf8-cli_8.19.0_linux_x86-64.tgz
mv cf8 /usr/local/bin/cf
cf --version
fi
2 changes: 1 addition & 1 deletion terraform/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.14.2"
version = "0.53.1"
}
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.14.2"
version = "0.53.1"
}
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.14.2"
version = "0.53.1"
}
}

Expand Down