Skip to content

Commit 532fb3b

Browse files
committed
chore: add output in workflow
1 parent 8086355 commit 532fb3b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/upgrade-current-deployment-infra.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,11 @@ jobs:
7676
echo "Deployment state: $deployment_state"
7777
echo "Active deployment: $active_deployment"
7878
terraform apply -var-file=tfvars.json -auto-approve -var="DEPLOYMENT_STATE=$deployment_state" -var="ACTIVE_DEPLOYMENT=$active_deployment"
79+
80+
# Display RDS connection information
81+
echo "=== RDS Connection Information ==="
82+
echo "RDS Endpoint: $(terraform output -raw rds_endpoint)"
83+
echo "Connection String: postgresql://${{ secrets.DATALAYER_PG_USER }}:${{ secrets.DATALAYER_PG_PASSWORD }}@$(terraform output -raw rds_endpoint)/GitcoinDatalayer{{Green|Blue}}"
84+
7985
env:
8086
TERRAFORM_VARS: ${{ vars.TERRAFORM_VARS }}

0 commit comments

Comments
 (0)