diff options
Diffstat (limited to 'users/grfn/terraform/globals.nix')
-rw-r--r-- | users/grfn/terraform/globals.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/users/grfn/terraform/globals.nix b/users/grfn/terraform/globals.nix deleted file mode 100644 index c6bc24c22b65..000000000000 --- a/users/grfn/terraform/globals.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ pkgs, ... }: - -{ - provider.aws = map - (region: { - inherit region; - alias = region; - profile = "personal"; - }) [ - "us-east-1" - "us-east-2" - "us-west-2" - ]; - - data.external.cloudflare_api_key = { - program = [ - (pkgs.writeShellScript "cloudflare_api_key" '' - jq -n --arg api_key "$(pass cloudflare-api-key)" '{"api_key":$api_key}' - '') - ]; - }; - - provider.cloudflare = { - email = "root@gws.fyi"; - api_key = "\${data.external.cloudflare_api_key.result.api_key}"; - }; -} |