tfwriter

Terraform HCL code generator.

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

avi_microservicegroup

back

Index

Terraform

terraform {
  required_providers {
    avi = ">= 0.2.3"
  }
}

top

Example Usage

module "avi_microservicegroup" {
  source = "./modules/avi/d/avi_microservicegroup"

  # name - (optional) is a type of string
  name = null
  # tenant_ref - (optional) is a type of string
  tenant_ref = null
  # uuid - (optional) is a type of string
  uuid = null
}

top

Variables

variable "name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "tenant_ref" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "uuid" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "avi_microservicegroup" "this" {
  # name - (optional) is a type of string
  name = var.name
  # tenant_ref - (optional) is a type of string
  tenant_ref = var.tenant_ref
  # uuid - (optional) is a type of string
  uuid = var.uuid
}

top

Outputs

output "created_by" {
  description = "returns a string"
  value       = data.avi_microservicegroup.this.created_by
}

output "description" {
  description = "returns a string"
  value       = data.avi_microservicegroup.this.description
}

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

output "name" {
  description = "returns a string"
  value       = data.avi_microservicegroup.this.name
}

output "service_refs" {
  description = "returns a list of string"
  value       = data.avi_microservicegroup.this.service_refs
}

output "tenant_ref" {
  description = "returns a string"
  value       = data.avi_microservicegroup.this.tenant_ref
}

output "uuid" {
  description = "returns a string"
  value       = data.avi_microservicegroup.this.uuid
}

output "this" {
  value = avi_microservicegroup.this
}

top