diff --git a/infrastructure/module.tf b/infrastructure/module.tf index ed17c63..0c6acf5 100644 --- a/infrastructure/module.tf +++ b/infrastructure/module.tf @@ -13,7 +13,12 @@ provider "kubernetes" { config_path = "~/.kube/config" } - +provider "bitwarden-secrets" { + api_url = "https://bitwarden.tryton.geeraert.eu/api" + identity_url = "https://bitwarden.tryton.geeraert.eu/identity" + access_token = "0.9f4b7c5f-e6e7-4eff-929e-b474016a2b9c.bMRELajGGb7qMuXXvzgCCJdDfxfTCS:mFDT7tHSi43KJSnkwvTSYg==" + organization_id = "a6361589-badd-4bde-9cb4-af8901161c0d" +} variable "kubernetes" { diff --git a/infrastructure/variables.auto.tfvars b/infrastructure/variables.auto.tfvars index 1051529..ec913b3 100644 --- a/infrastructure/variables.auto.tfvars +++ b/infrastructure/variables.auto.tfvars @@ -68,7 +68,7 @@ kubernetes = { username = "django_username" mountPath = "/var/lib/postgresql/data" } - secret_ref = ["django-bitwarden-credentials"] + secret_ref = ["django-bitwarden-credentials"] secret_import = ["9fc5a725-75f5-4bab-b595-b474017146c3"] requirements = { limits-cpu = "800m"