Write a Terraform module that creates an AWS Route53 record that does active-active failover to two backend servers with healthchecks.
Sure, I can help you with that! Here's an example Terraform module that creates an AWS Route53 record that does active-active failover to two backend servers with healthchecks.
First, create a variables.tf
file to define the input variables for the module:
variable "zone_id" {
type = string
description = "The ID of the Route53 hosted zone"