/terraform-vault-auth-github

Repository to prep services for terraform-vault-auth-github

Primary LanguageHCLMIT LicenseMIT

inspec-test

Terraform Vault Auth Github

This terraform module onboards a GitHub team onto Vault.

Usage:

module "vault_github_team" {
  source            = "git::https://github.com/devops-adeel/terraform-vault-auth-github.git?ref=v0.1.0"
  github_team       = "team-is"
  env               = "dev"
  service           = "web"
  policies          = ["admin", "default"]
}

Requirements

No requirements.

Providers

Name Version
vault n/a

Modules

No modules.

Resources

Name Type
vault_identity_group.default resource
vault_identity_group_alias.default resource
vault_identity_group_policies.default resource

Inputs

Name Description Type Default Required
env The name of the environment. string "dev" no
github_team The slug name of the Github team. string n/a yes
mount_accessor The Accessor ID of the Approle Auth Backend. string n/a yes
policies List of ACL policies to bind to group list(string)
[
"default"
]
no
service The name of the micro-service the application is running string "web" no

Outputs

No outputs.