tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

aviatrix_rbac_group

back

Index

Terraform

terraform {
  required_providers {
    aviatrix = ">= 2.18.2"
  }
}

top

Example Usage

module "aviatrix_rbac_group" {
  source = "./modules/aviatrix/r/aviatrix_rbac_group"

  # group_name - (required) is a type of string
  group_name = null
  # local_login - (optional) is a type of bool
  local_login = null
}

top

Variables

variable "group_name" {
  description = "(required) - RBAC permission group name."
  type        = string
}

variable "local_login" {
  description = "(optional) - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login"
  type        = bool
  default     = null
}

top

Resource

resource "aviatrix_rbac_group" "this" {
  # group_name - (required) is a type of string
  group_name = var.group_name
  # local_login - (optional) is a type of bool
  local_login = var.local_login
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = aviatrix_rbac_group.this.id
}

output "this" {
  value = aviatrix_rbac_group.this
}

top