Skip to content

Commit

Permalink
Added the hosted zone for the microservice.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Jun 25, 2024
1 parent 48bc955 commit fe82439
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions tofu/config/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ module "vpc" {
}
}

# Create hosted zones for DNS.
module "hosted_zones" {
source = "terraform-aws-modules/route53/aws//modules/zones"
version = "~> 3.1"

zones = {
getchildcare = {
domain_name = "staging.getchildcareil.org"
comment = "Hosted zone for the Illinois GetChildcare application."
}
}
}

# Deploy the Document Transfer service to a Fargate cluster.
module "document_transfer" {
# tflint-ignore: terraform_module_pinned_source
Expand Down Expand Up @@ -78,16 +91,16 @@ module "document_transfer" {
}

environment_secrets = {
ONEDRIVE_CLIENT_ID = "onedrive:client_id"
ONEDRIVE_CLIENT_ID = "onedrive:client_id"
ONEDRIVE_CLIENT_SECRET = "onedrive:client_secret"
ONEDRIVE_TENANT_ID = "onedrive:tenant_id"
ONEDRIVE_DRIVE_ID = "onedrive:drive_id"
ONEDRIVE_TENANT_ID = "onedrive:tenant_id"
ONEDRIVE_DRIVE_ID = "onedrive:drive_id"
}

secrets_manager_secrets = {
onedrive = {
recovery_window = 7
description = "Credentials for the OneDrive."
description = "Credentials for the OneDrive."
}
}
}
Expand Down

0 comments on commit fe82439

Please sign in to comment.