From 04587a17809c3d1530c14990b0a2dd97dfd55158 Mon Sep 17 00:00:00 2001 From: ajmu1 Date: Mon, 16 Jun 2025 16:48:06 +0100 Subject: [PATCH] Revert 1069 fixing dev pipeline trigger This reverts commit e34d3ff8284101c3039a0839b800fd16c3ccf0b9. --- .../development-and-deployment-tools/development_pipeline.tf | 2 +- .../stacks/development-and-deployment-tools/github.tf | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/infrastructure/stacks/development-and-deployment-tools/development_pipeline.tf b/infrastructure/stacks/development-and-deployment-tools/development_pipeline.tf index e22b6a90b..6276699c5 100644 --- a/infrastructure/stacks/development-and-deployment-tools/development_pipeline.tf +++ b/infrastructure/stacks/development-and-deployment-tools/development_pipeline.tf @@ -19,7 +19,7 @@ resource "aws_codepipeline" "development_pipeline" { output_artifacts = ["source_output"] configuration = { - ConnectionArn = aws_codestarconnections_connection.github_nhsdigital.arn + ConnectionArn = aws_codestarconnections_connection.github.arn FullRepositoryId = "${var.github_owner}/${var.github_repo}" BranchName = var.development_pipeline_branch_name DetectChanges = true diff --git a/infrastructure/stacks/development-and-deployment-tools/github.tf b/infrastructure/stacks/development-and-deployment-tools/github.tf index 114db9cfe..1547999fc 100644 --- a/infrastructure/stacks/development-and-deployment-tools/github.tf +++ b/infrastructure/stacks/development-and-deployment-tools/github.tf @@ -3,11 +3,6 @@ resource "aws_codestarconnections_connection" "github" { provider_type = "GitHub" } -resource "aws_codestarconnections_connection" "github_nhsdigital" { - name = "${var.project_id}-${var.environment}-nhsdigital" - provider_type = "GitHub" -} - resource "aws_codebuild_source_credential" "github_authenication" { auth_type = "PERSONAL_ACCESS_TOKEN" server_type = "GITHUB"