From e4366c644cd0bf31c608c8057e1005f5b3c8c527 Mon Sep 17 00:00:00 2001 From: John Lotoski Date: Wed, 13 Oct 2021 09:43:28 -0500 Subject: [PATCH] add back acme provider to be able to destroy it later --- modules/terraform/core.nix | 4 ++++ overlay.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/terraform/core.nix b/modules/terraform/core.nix index b12660a8..8965a0cc 100644 --- a/modules/terraform/core.nix +++ b/modules/terraform/core.nix @@ -51,6 +51,10 @@ in { }; provider = { + acme = { + server_url = "https://acme-v02.api.letsencrypt.org/directory"; + }; + aws = [{ region = config.cluster.region; }] ++ (lib.forEach regions (region: { inherit region; diff --git a/overlay.nix b/overlay.nix index bde56541..d895ac31 100644 --- a/overlay.nix +++ b/overlay.nix @@ -45,7 +45,7 @@ in final: prev: { vault-bin = prev.callPackage ./pkgs/vault-bin.nix { }; terraform-provider-names = - [ "aws" "consul" "local" "nomad" "null" "sops" "tls" "vault" ]; + [ "acme" "aws" "consul" "local" "nomad" "null" "sops" "tls" "vault" ]; terraform-provider-versions = lib.listToAttrs (map (name: let