tfwriter

Terraform HCL code generator.

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

aci_pod_maintenance_group

back

Index

Terraform

terraform {
  required_providers {
    aci = ">= 0.5.4"
  }
}

top

Example Usage

module "aci_pod_maintenance_group" {
  source = "./modules/aci/d/aci_pod_maintenance_group"

  # annotation - (optional) is a type of string
  annotation = null
  # description - (optional) is a type of string
  description = null
  # fwtype - (optional) is a type of string
  fwtype = null
  # name - (required) is a type of string
  name = null
  # name_alias - (optional) is a type of string
  name_alias = null
  # pod_maintenance_group_type - (optional) is a type of string
  pod_maintenance_group_type = null
}

top

Variables

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

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

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

variable "name" {
  description = "(required)"
  type        = string
}

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

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

top

Datasource

data "aci_pod_maintenance_group" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # fwtype - (optional) is a type of string
  fwtype = var.fwtype
  # name - (required) is a type of string
  name = var.name
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
  # pod_maintenance_group_type - (optional) is a type of string
  pod_maintenance_group_type = var.pod_maintenance_group_type
}

top

Outputs

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

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

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

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

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

output "this" {
  value = aci_pod_maintenance_group.this
}

top