SHARE
TWEET

Untitled

a guest Jul 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. resource "cloudflare_zone" "my_domain_entry" {
  2.   zone = "example.com"
  3. }
  4.  
  5. resource "cloudflare_zone_settings_override" "my_domain_entry_config" {
  6.   name = "${cloudflare_zone.my_domain_entry.zone}"
  7.   settings {
  8.     tls_1_3 = "on"
  9.   }
  10. }
  11.  
  12. resource "cloudflare_record" "app_example_com_host" {
  13.   domain = "${cloudflare_zone.my_domain_entry.zone}"
  14.   type   = "A"
  15.   name   = "@"
  16.   value  = "${digitalocean_droplet.my_droplet.ip_address}"
  17.   proxied = true
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top