Skip to content

Instantly share code, notes, and snippets.

@davidvpe
Last active February 6, 2022 11:44
Show Gist options
  • Save davidvpe/ed107c5172972161f6ed8c5de6a30236 to your computer and use it in GitHub Desktop.
Save davidvpe/ed107c5172972161f6ed8c5de6a30236 to your computer and use it in GitHub Desktop.
resource "cloudflare_record" "records" {
zone_id = data.cloudflare_zone.zone.id
name = "example.com"
value = aws_cloudfront_distribution.s3_distribution.domain_name
type = "CNAME"
ttl = 1
allow_overwrite = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment