/terraform-vault-secrets-tfc

Repository to prep services for terraform-vault-secrets-tfc

Primary LanguageHCLMIT LicenseMIT

inspec-test

Terraform Vault Secrets TFC Module

This terraform module mounts the secret backend for terraform-cloud-secrets and bind an ACL templated policy.

Usage:

module "vault_tfc_secrets" {
  source      = "git::https://github.com/devops-adeel/terraform-vault-secrets-tfc.git?ref=v0.4.0"
}

Requirements

Name Version
vault ~> 2.19.0

Providers

Name Version
vault ~> 2.19.0

Modules

No modules.

Resources

Name Type
vault_identity_group.default resource
vault_identity_group_policies.default resource
vault_policy.admin resource
vault_policy.default resource
vault_terraform_cloud_secret_backend.default resource
vault_policy_document.admin data source
vault_policy_document.default data source

Inputs

Name Description Type Default Required
token TFC token string n/a yes

Outputs

Name Description
backend_path Secrets Backend Path as output
identity_group_id ID of the created Vault Identity Group.
tfc_admin_policy_name Name of the terraform admin policy