Skip to content

Deploy a placeholder zip when creating lambda resources#138

Merged
steventux merged 2 commits intomainfrom
disable-lambda-deployment-via-terraform
Jun 17, 2025
Merged

Deploy a placeholder zip when creating lambda resources#138
steventux merged 2 commits intomainfrom
disable-lambda-deployment-via-terraform

Conversation

@steventux
Copy link
Contributor

Context

We should not be deploying via terraform.
It's possible that unreviewed or out of date code may be deployed unintentionally this way.
We have a working CI/CD pipeline to deploy lambda code so disable terraform deployment of lambda code in favour of deploying a placeholder zip.
This will need to be followed by a CI/CD run but we have a manual trigger in GH Actions to allow us to do this.

Changes

Disable deployment of lambda code via terraform apply

We should not be deploying via terraform. It's possible that unreviewed or out of date code may be deployed unintentionally this way.
We have a working CI/CD pipeline to deploy lambda code so disable terraform deployment of lambda code in favour of deploying a placeholder zip.
This will need to be followed by a CI/CD run but we have a manual trigger in GH Actions to allow us to do this.
Copy link
Contributor

@cameronhargreaves1-nhs cameronhargreaves1-nhs left a comment

Choose a reason for hiding this comment

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

looks good - cleans the terraform up a lot too!

@steventux steventux added this pull request to the merge queue Jun 17, 2025
Merged via the queue into main with commit 8223b22 Jun 17, 2025
7 checks passed
@steventux steventux deleted the disable-lambda-deployment-via-terraform branch June 17, 2025 12:36
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