From e6532b2217f4efed10b49da386d2ec7a70d14efd Mon Sep 17 00:00:00 2001 From: Arthur Koziel Date: Mon, 29 Mar 2021 16:22:42 +0800 Subject: [PATCH] upgrade tf pass provider to 2.0.0 Signed-off-by: Arthur Koziel --- providers.tf | 3 +++ secrets.tf | 3 --- versions.tf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/providers.tf b/providers.tf index e555f89..b5a1a62 100644 --- a/providers.tf +++ b/providers.tf @@ -9,3 +9,6 @@ provider "cloudflare" { api_key = data.pass_password.cloudflare_token.password account_id = data.pass_password.cloudflare_account.password } + +# Uses PASSWORD_STORE_DIR environment variable +provider "pass" {} diff --git a/secrets.tf b/secrets.tf index e742497..8625041 100644 --- a/secrets.tf +++ b/secrets.tf @@ -1,6 +1,3 @@ -# Uses PASSWORD_STORE_DIR environment variable -provider "pass" { refresh_store = false } - /* Token for interacting with Cloudflare API. */ data "pass_password" "cloudflare_token" { path = "cloud/Cloudflare/token" diff --git a/versions.tf b/versions.tf index b6894ea..1890b3b 100644 --- a/versions.tf +++ b/versions.tf @@ -11,7 +11,7 @@ terraform { } pass = { source = "camptocamp/pass" - version = " = 1.4.0" + version = " = 2.0.0" } } }