Skip to content

Commit

Permalink
Merge pull request #140 from silinternational/develop
Browse files Browse the repository at this point in the history
Release 3.1.0 - Better failover CNAME DNS records
  • Loading branch information
forevermatt authored Aug 4, 2023
2 parents b574d68 + ee66944 commit c37551e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module "serverless_user" {
*/
module "dns_for_failover" {
source = "silinternational/serverless-api-dns-for-failover/aws"
version = "0.3.0"
version = "~> 0.5.1"

api_name = "${local.app_env}-${var.app_name}"
cloudflare_zone_name = var.cloudflare_domain
Expand Down
8 changes: 8 additions & 0 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ output "serverless_secret_access_key" {
value = one(module.serverless_user[*].aws_secret_access_key)
sensitive = true
}

output "primary_region_domain_name" {
value = module.dns_for_failover.primary_region_domain_name
}

output "secondary_region_domain_name" {
value = module.dns_for_failover.secondary_region_domain_name
}

0 comments on commit c37551e

Please sign in to comment.