From a07d00acc6d118501fa1f747c7d0e04a9dc50e6b Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 21 Jul 2023 12:53:08 +0100 Subject: [PATCH] codestarconnections moved to their own file --- codestarconnections.tf | 10 ++++++++++ main.tf | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 codestarconnections.tf diff --git a/codestarconnections.tf b/codestarconnections.tf new file mode 100644 index 0000000..00640b2 --- /dev/null +++ b/codestarconnections.tf @@ -0,0 +1,10 @@ +resource "aws_codestarconnections_connection" "nvvs-github-connection" { + name = "nvvs github connection" + provider_type = "GitHub" + tags = module.label.tags +} +resource "aws_codestarconnections_connection" "staff-infrastructure-moj" { + name = "staff-infrastructure-moj" + provider_type = "GitHub" + tags = module.label.tags +} diff --git a/main.tf b/main.tf index c984435..f8e3883 100644 --- a/main.tf +++ b/main.tf @@ -220,14 +220,3 @@ module "staff-infrastructure-smtp-relay-server" { privileged_mode = true } - -resource "aws_codestarconnections_connection" "nvvs-github-connection" { - name = "nvvs github connection" - provider_type = "GitHub" - tags = module.label.tags -} -resource "aws_codestarconnections_connection" "staff-infrastructure-moj" { - name = "staff-infrastructure-moj" - provider_type = "GitHub" - tags = module.label.tags -}