kv-for-application

ausmartway/kv-for-application/vault

Terraform Module HCL VAULT

A module that can onboard an Application with a list of environment associated

Install
module "kv-for-application" {
source = "ausmartway/kv-for-application/vault"
version = "0.4.1"
}
plain text: /constructs/tfmod-ausmartway-kv-for-application-vault/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-vault-kv-for-application Terraform module that creates kv2 secrets engine for application per enviroment, along with secrets provider/consumer/admin policies. Usage ``terraform module "vault_app_module_APP000001" { source = "ausmartway/terraform-vault-kv-for-application" version = "0.4.1" appname = "APP000001" enable_approle = true enviroments=["production","dev","test","sit","svt"] } ` or, using yaml file as variable input: `terraform locals { # Take a directory of YAML files, read each one that matches naming pattern and bring them in to Terraform's native data set inputappvars = [for f in fileset(path.module, "applications/{app}*.yaml") : yamldecode(file(f))] # Take that data set and format it so that it can be used with the for_each command by converting it to a map where eac

Inputs (4)
NameTypeDescriptionDefault
appnamestringName of the Application to be onboarded required
enviromentslistlist of enviroments[ "prod", "dev" ]
approle_pathstringThe path of AppRole auth backend, eg, approle"approle"
enable_approleboolIf approle roles should be enabled for the applicationtrue
Resources (3)
vault_approle_auth_backend_rolevault_mountvault_policy
Details
FrameworkTerraform Module
LanguageHCL
Version0.4.1
Cloud VAULT
★ Stars1
Forks1
Total downloads1.5k
Inputs4
Resources3
LicenseMPL-2.0
Namespaceausmartway
Updated