From 8d8ab40278fc1a0923c61d7b4116c5fdcf8d241d Mon Sep 17 00:00:00 2001 From: aidenvaines-bjss Date: Tue, 23 Jul 2024 09:23:16 +0100 Subject: [PATCH] CCM-5836 tidy --- infrastructure/terraform/components/acct/README | 5 ----- .../components/acct/route53_delegation_set_main.tf | 3 --- .../terraform/components/acct/route53_zone_subdomain.tf | 7 ------- 3 files changed, 15 deletions(-) delete mode 100644 infrastructure/terraform/components/acct/README delete mode 100644 infrastructure/terraform/components/acct/route53_delegation_set_main.tf delete mode 100644 infrastructure/terraform/components/acct/route53_zone_subdomain.tf diff --git a/infrastructure/terraform/components/acct/README b/infrastructure/terraform/components/acct/README deleted file mode 100644 index d214887..0000000 --- a/infrastructure/terraform/components/acct/README +++ /dev/null @@ -1,5 +0,0 @@ -README for 'acct' component - Account-level resources - -This component is intended to be run to set up things (such as a DNS subdomain) at the account level, and this should be run for each account belonging to the Notify Domain - i.e. there should be a nonprod and prod environment .tfvars - -Copy the `env_eu-west-2_example.tfvars` file in the `etc` directory and adjust as needed for nonprod and prod for your NHS Notify Domain. diff --git a/infrastructure/terraform/components/acct/route53_delegation_set_main.tf b/infrastructure/terraform/components/acct/route53_delegation_set_main.tf deleted file mode 100644 index 76ad88e..0000000 --- a/infrastructure/terraform/components/acct/route53_delegation_set_main.tf +++ /dev/null @@ -1,3 +0,0 @@ -resource "aws_route53_delegation_set" "main" { - reference_name = "main" -} diff --git a/infrastructure/terraform/components/acct/route53_zone_subdomain.tf b/infrastructure/terraform/components/acct/route53_zone_subdomain.tf deleted file mode 100644 index cc52061..0000000 --- a/infrastructure/terraform/components/acct/route53_zone_subdomain.tf +++ /dev/null @@ -1,7 +0,0 @@ -resource "aws_route53_zone" "subdomain" { - count = var.subdomain_name != "" ? 1 : 0 - - name = var.subdomain_name - - delegation_set_id = aws_route53_delegation_set.main.id -}