[DTOSS-12318] - feat(iac): add ADO pipeline and Terraform for Arc infrastructure - #38
Merged
josielsouzanordcloud merged 1 commit intoMar 18, 2026
Conversation
josielsouzanordcloud
force-pushed
the
DTOSS-12318-add-ado-pipeline-and-terraform-for-arc
branch
2 times, most recently
from
March 2, 2026 18:41
c17d487 to
7202f3e
Compare
josielsouzanordcloud
temporarily deployed
to
review
March 2, 2026 18:52 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 3, 2026 10:59 — with
GitHub Actions
Inactive
josielsouzanordcloud
force-pushed
the
DTOSS-12318-add-ado-pipeline-and-terraform-for-arc
branch
from
March 4, 2026 09:54
83fee39 to
f1e728b
Compare
josielsouzanordcloud
temporarily deployed
to
review
March 4, 2026 09:55 — with
GitHub Actions
Inactive
josielsouzanordcloud
force-pushed
the
DTOSS-12318-add-ado-pipeline-and-terraform-for-arc
branch
from
March 5, 2026 18:31
f1e728b to
28dd093
Compare
josielsouzanordcloud
had a problem deploying
to
review
March 5, 2026 18:33 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 5, 2026 19:01 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 5, 2026 21:50 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 5, 2026 21:56 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 5, 2026 22:08 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 5, 2026 22:20 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 10:07 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 10:36 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 10:42 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 10:59 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 11:24 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 11:38 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 12:19 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 12:47 — with
GitHub Actions
Failure
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 13:12 — with
GitHub Actions
Failure
josielsouzanordcloud
force-pushed
the
DTOSS-12318-add-ado-pipeline-and-terraform-for-arc
branch
from
March 6, 2026 14:41
0098520 to
c7f4862
Compare
josielsouzanordcloud
temporarily deployed
to
review
March 6, 2026 14:42 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 17:31 — with
GitHub Actions
Failure
josielsouzanordcloud
force-pushed
the
DTOSS-12318-add-ado-pipeline-and-terraform-for-arc
branch
from
March 6, 2026 17:34
e8c8aa6 to
fb804c8
Compare
josielsouzanordcloud
had a problem deploying
to
review
March 6, 2026 17:35 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 6, 2026 17:37 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 09:57 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 14:22 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 14:24 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 14:31 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 14:33 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 14:39 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 14:41 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 14:58 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 15:00 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 15:10 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 15:11 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 15:20 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 15:21 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 15:51 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 15:52 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 16:09 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 16:10 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 18:18 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 18:19 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 18:49 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 18:50 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 19:03 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 19:14 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 19:19 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
March 9, 2026 19:20 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
March 9, 2026 19:39 — with
GitHub Actions
Inactive
steventux
reviewed
Mar 18, 2026
| # - https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms | ||
| # - https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms | ||
|
|
||
| name: 🐞 Bug Report |
Contributor
There was a problem hiding this comment.
Who is the intended audience for this and the other ISSUE_TEMPLATE yaml files?
steventux
reviewed
Mar 18, 2026
| @@ -0,0 +1 @@ | |||
| * @NHSDigital/dtos-manage-breast-screening-gateway-code-owners | |||
Contributor
There was a problem hiding this comment.
Do we need this? Is it mandated somewhere? It feels onerous (pun intended)
steventux
reviewed
Mar 18, 2026
| Write-Log "WindowsAzureGuestAgent service not found" "WARNING" | ||
| } | ||
|
|
||
| Write-Log "STEP 3: Blocking Azure IMDS endpoint (169.254.169.254)..." "INFO" # gitleaks:allow |
Contributor
There was a problem hiding this comment.
Can this IP address live in a variable? It's repeated a few times, it would mean only one # gitleaks:allow :)
steventux
approved these changes
Mar 18, 2026
steventux
left a comment
Contributor
There was a problem hiding this comment.
This looks good to me, not that well versed in Powershell but the TF / Deployment side looks good.
Adds Azure DevOps deployment pipelines for Arc infrastructure and gateway test VM. Also includes GitHub issue templates for support requests, feature requests, and bug reports, along with a security policy document. Updates the .gitignore to exclude Terraform state files and adds a new section in the Makefile for deploying applications. Refs: DTOSS-12318
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces Azure DevOps (ADO) pipelines and Terraform modules for setting up Arc infrastructure. The changes include:
.githubdirectory..shfiles with a single.tfvarsfile for the review environment..gitignoreto include Terraform state files and modules.These changes enable the automated deployment and management of Arc infrastructure across different environments, enhancing the CI/CD pipeline and infrastructure as code (IaC) practices.
Type of change
Jira link
DTOSS-12318
https://nhsd-jira.digital.nhs.uk/browse/DTOSS-12318
Review notes
.azuredevops/pipelines/deploy.ymlfile to ensure the ADO pipeline triggers correctly and uses the right parameters..github/workflows/stage-4-deploy.yamlworkflow for proper deployment logic and environment handling..github/workflows/cicd-1-pull-request.yamland.github/workflows/cicd-2-main-branch.yamlworkflows include the new deploy stage.infrastructure/modules/arc-infra/module files for correct resource definitions and variable usage.infrastructure/terraform/main files include the new Arc infrastructure module and propagate variables correctly..shfiles and replacement withreview/variables.tfvarsis complete..github/ISSUE_TEMPLATE/files for clarity and completeness..github/SECURITY.mdanddocs/CODE_OF_CONDUCT.mdfiles for accurate information and alignment with project standards..tool-versionsfile is updated with the correct Terraform version..gitignorefile includes all necessary entries to avoid committing sensitive or unnecessary files.Breaking changes
.shfiles for dev, preprod, and prod environments.Impact
.tfvarsfiles, reducing redundancy.Review checklist
Terraform (
*.tf,*.tfvars):terraform planreviewed — no unintended resource destruction.tfvarsfilesPipeline (
*.yml,*.yaml):