tfwriter

Terraform HCL code generator.

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

aviatrix_account_user

back

Index

Terraform

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

top

Example Usage

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

  # email - (required) is a type of string
  email = null
  # password - (required) is a type of string
  password = null
  # username - (required) is a type of string
  username = null
}

top

Variables

variable "email" {
  description = "(required) - Email of address of account user to be created."
  type        = string
}

variable "password" {
  description = "(required) - Login password for the account user to be created."
  type        = string
}

variable "username" {
  description = "(required) - Name of account user to be created. It can only include alphanumeric characters(lower case only), hyphens, dots or underscores. 1 to 80 in length. No spaces are allowed."
  type        = string
}

top

Resource

resource "aviatrix_account_user" "this" {
  # email - (required) is a type of string
  email = var.email
  # password - (required) is a type of string
  password = var.password
  # username - (required) is a type of string
  username = var.username
}

top

Outputs

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

output "this" {
  value = aviatrix_account_user.this
}

top