rbac

aidanmelen/rbac/kubernetes

Terraform Module HCL KUBERNETES

A Terraform module to manage Kubernetes RBAC Authorization.

Install
module "rbac" {
source = "aidanmelen/rbac/kubernetes"
version = "0.1.1"
}
plain text: /constructs/tfmod-aidanmelen-rbac-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Pre-Commit](https://github.com/aidanmelen/terraform-kubernetes-rbac/actions/workflows/pre-commit.yaml) ![cookiecutter-tf-module](https://github.com/aidanmelen/cookiecutter-tf-module) ![StandWithUkraine](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) terraform-kubernetes-rbac A Terraform module for managing Kubernetes RBAC. Usage Recreate the Kubernetes RBAC examples from the Using RBAC Authorization documentation. ```hcl locals { labels = { "terraform-example" = "ex-${replace(basename(path.cwd), "_", "-")}" "app.kubernetes.io/managed-by" = "Terraform" "terraform.io/module" = "terraform-kubernetes-rbac" } } resource "kubernetes_namespace" "development" { metadata { name = "development" labels = local.labels } } module "rbac" { # source = "aidan-melen/rbac/kubern

Inputs (5)
NameTypeDescriptionDefault
cluster_rolesanyMap of cluster role and cluster/role binding definitions to create.{}
createboolControls whether the Authorization and RBAC resources should be created (affectstrue
labelsmap(string)The global labels. Applied to all resources.{}
annotationsmap(string)The global annotations. Applied to all resources.{}
rolesanyMap of role and role binding definitions to create.{}
Outputs (2)
roles — The roles.
cluster_roles — The cluster roles.
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.1
Cloud KUBERNETES
★ Stars2
Forks4
Total downloads46.8k
Inputs5
Outputs2
Examples4
Submodules1
LicenseApache-2.0
Namespaceaidanmelen
Updated