tfwriter

Terraform HCL code generator.

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

aviatrix_rbac_group_user_attachment

back

Index

Terraform

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

top

Example Usage

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

  # group_name - (required) is a type of string
  group_name = null
  # user_name - (required) is a type of string
  user_name = null
}

top

Variables

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

variable "user_name" {
  description = "(required) - Account user name."
  type        = string
}

top

Resource

resource "aviatrix_rbac_group_user_attachment" "this" {
  # group_name - (required) is a type of string
  group_name = var.group_name
  # user_name - (required) is a type of string
  user_name = var.user_name
}

top

Outputs

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

output "this" {
  value = aviatrix_rbac_group_user_attachment.this
}

top