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" } } }