Skip to content

Commit e22b93e

Browse files
authored
DS-3900 Revert 1069 fixing dev pipeline trigger (#1071)
# Task Branch Pull Request **<https://nhsd-jira.digital.nhs.uk/browse/DS-3900>** ## Description of Changes This PR revert changes from the last PR #1069 ## Type of change - Bug fix (reverting changes from last PR #1069) ## Development Checklist - [x] I have performed a self-review of my own code - [x] Tests have added that prove my fix is effective or that my feature works (Integration tests) - [x] I have updated Dependabot to include my changes (if applicable) ## Code Reviewer Checklist - [x] I can confirm the changes have been tested or approved by a tester
1 parent e34d3ff commit e22b93e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

infrastructure/stacks/development-and-deployment-tools/development_pipeline.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resource "aws_codepipeline" "development_pipeline" {
1919
output_artifacts = ["source_output"]
2020

2121
configuration = {
22-
ConnectionArn = aws_codestarconnections_connection.github_nhsdigital.arn
22+
ConnectionArn = aws_codestarconnections_connection.github.arn
2323
FullRepositoryId = "${var.github_owner}/${var.github_repo}"
2424
BranchName = var.development_pipeline_branch_name
2525
DetectChanges = true

infrastructure/stacks/development-and-deployment-tools/github.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ resource "aws_codestarconnections_connection" "github" {
33
provider_type = "GitHub"
44
}
55

6-
resource "aws_codestarconnections_connection" "github_nhsdigital" {
7-
name = "${var.project_id}-${var.environment}-nhsdigital"
8-
provider_type = "GitHub"
9-
}
10-
116
resource "aws_codebuild_source_credential" "github_authenication" {
127
auth_type = "PERSONAL_ACCESS_TOKEN"
138
server_type = "GITHUB"

0 commit comments

Comments
 (0)