summaryrefslogtreecommitdiff
path: root/ext/terranix/cloudflare/tls.nix
blob: 77450ad6da8637f1e13b79f07df02f1edb846512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ lib, ... }:
let
  baseSettings = {
    always_use_https = "on";
    ssl = "strict";
  };
in
{
  resource.cloudflare_zone_settings_override = {
    getchoo_com_settings = {
      zone_id = lib.tfRef "var.getchoo_com_zone_id";
      settings = baseSettings;
    };
  };
}