summaryrefslogtreecommitdiff
path: root/terranix/cloudflare/tunnels.nix
blob: 717a887ce30a256d53a1ae67c251c03017516f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, ... }:
{
  data.cloudflare_zero_trust_tunnel_cloudflared = lib.genAttrs [ "atlas-nginx" ] (name: {
    inherit name;
    account_id = lib.tfRef "var.account_id";
  });

  resource.cloudflare_authenticated_origin_pulls = {
    getchoo_com_origin = {
      zone_id = lib.tfRef "var.getchoo_com_zone_id";
      enabled = true;
    };
  };
}