Skip to content

Production Deploy: Pin deploy user to circleci#3606

Merged
davidsmejia merged 2 commits into
masterfrom
dev
Jul 3, 2026
Merged

Production Deploy: Pin deploy user to circleci#3606
davidsmejia merged 2 commits into
masterfrom
dev

Conversation

@davidsmejia

Copy link
Copy Markdown
Contributor

This pull request updates the deployment workflow to distinguish between the identity used for Terraform resources and the user who actually triggered the deployment. The changes ensure that the Terraform stack identity remains consistent across deployments, while the Slack notification correctly attributes the deploy to the triggering user.

Deployment environment variable changes:

  • The DEPLOY_USER environment variable is now hardcoded as circleci in both the deploy and deploy_hotfix jobs to maintain consistent Terraform stack naming and state management. [1] [2]
  • A new environment variable, DEPLOY_NOTIFIER, is introduced to capture the actual user who triggered the deployment (github.actor). This value is now used in Slack notifications. [1] [2]

Slack notification update:

  • The Slack deployment message in .github/scripts/slackpost_deploy.sh now uses DEPLOY_NOTIFIER instead of DEPLOY_USER to correctly display the deploy triggerer.

@davidsmejia davidsmejia merged commit 7b809b7 into master Jul 3, 2026
36 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant