data "cloudflare_zone" "zone" { name = "khuedoan.com" } data "cloudflare_api_token_permission_groups" "all" {} data "http" "public_ipv4" { url = "https://ipv4.icanhazip.com" } # data "http" "public_ipv6" { # url = "https://ipv6.icanhazip.com" # } locals { public_ips = [ "${chomp(data.http.public_ipv4.body)}/32", # "${chomp(data.http.public_ipv6.body)}/128" ] }