Skip to content

Commit 694a99c

Browse files
committed
Fixing dev pipeline trigger
1 parent a3cef14 commit 694a99c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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.arn
22+
ConnectionArn = aws_codestarconnections_connection.github_nhsdigital.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ 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+
611
resource "aws_codebuild_source_credential" "github_authenication" {
712
auth_type = "PERSONAL_ACCESS_TOKEN"
813
server_type = "GITHUB"

0 commit comments

Comments
 (0)