From 806dd67110c2fa3e4cef644ebd2f706f02a960ba Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Tue, 9 Sep 2025 21:27:37 -0500 Subject: [PATCH] fmt --- main.tf | 20 ++++++++++---------- variables.tf | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main.tf b/main.tf index 8f82522..2ca5d20 100644 --- a/main.tf +++ b/main.tf @@ -99,26 +99,26 @@ data "cloudflare_zones" "domain" { # DNS setup resource "cloudflare_record" "site_cname" { zone_id = data.cloudflare_zones.domain.zones[0].id - name = var.site_domain - value = aws_s3_bucket_website_configuration.site.website_endpoint - type = "CNAME" - ttl = 1 + name = var.site_domain + value = aws_s3_bucket_website_configuration.site.website_endpoint + type = "CNAME" + ttl = 1 proxied = true } resource "cloudflare_record" "www" { zone_id = data.cloudflare_zones.domain.zones[0].id - name = "www" - value = var.site_domain - type = "CNAME" - ttl = 1 + name = "www" + value = var.site_domain + type = "CNAME" + ttl = 1 proxied = true } resource "cloudflare_page_rule" "https" { zone_id = data.cloudflare_zones.domain.zones[0].id - target = "*.${var.site_domain}/*" + target = "*.${var.site_domain}/*" actions { - always_use_https = true + always_use_https = true } } diff --git a/variables.tf b/variables.tf index 622339d..1c102aa 100644 --- a/variables.tf +++ b/variables.tf @@ -1,5 +1,5 @@ variable "aws_region" { - type = string + type = string description = "The AWS region of this site" }