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 -}