Skip to content

add celery_broker_url tf variable#236

Merged
paigewilliams merged 1 commit intodevelopfrom
update-branch-user-data
Mar 12, 2026
Merged

add celery_broker_url tf variable#236
paigewilliams merged 1 commit intodevelopfrom
update-branch-user-data

Conversation

@paigewilliams
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new celery_broker_url Terraform variable and threads it through to the EC2 instance's user data template so that the Celery broker URL is available in the .env.prod file at deploy time. It also switches the git branch from docker-nginx to develop.

Changes:

  • Added celery_broker_url Terraform variable and passed it to the user data template via ec2.tf.
  • Switched the cloned branch from docker-nginx to develop in the user data script.
  • Wrote the new CELERY_BROKER_URL environment variable into .env.prod.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
infra/main.tf Declares the new celery_broker_url variable
infra/ec2.tf Passes celery_broker_url into the templatefile call
infra/user_data.tftpl Switches branch to develop and writes CELERY_BROKER_URL to .env.prod

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paigewilliams paigewilliams merged commit d7440f5 into develop Mar 12, 2026
7 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.

2 participants