back
terraform {
required_providers {
aviatrix = ">= 2.18.2"
}
}
top
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
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 "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
output "id" {
description = "returns a string"
value = aviatrix_account_user.this.id
}
output "this" {
value = aviatrix_account_user.this
}
top