Skip to content

Latest commit

 

History

History
101 lines (78 loc) · 1.82 KB

bigip_cm_device.md

File metadata and controls

101 lines (78 loc) · 1.82 KB

bigip_cm_device

back

Index

Terraform

terraform {
  required_providers {
    bigip = ">= 1.8.0"
  }
}

top

Example Usage

module "bigip_cm_device" {
  source = "./modules/bigip/r/bigip_cm_device"

  # configsync_ip - (required) is a type of string
  configsync_ip = null
  # mirror_ip - (optional) is a type of string
  mirror_ip = null
  # mirror_secondary_ip - (optional) is a type of string
  mirror_secondary_ip = null
  # name - (required) is a type of string
  name = null
}

top

Variables

variable "configsync_ip" {
  description = "(required) - IP address used for config sync"
  type        = string
}

variable "mirror_ip" {
  description = "(optional) - IP address used for state mirroring"
  type        = string
  default     = null
}

variable "mirror_secondary_ip" {
  description = "(optional) - Secondary IP address used for state mirroring"
  type        = string
  default     = null
}

variable "name" {
  description = "(required) - Address of the Device which needs to be Deviceensed"
  type        = string
}

top

Resource

resource "bigip_cm_device" "this" {
  # configsync_ip - (required) is a type of string
  configsync_ip = var.configsync_ip
  # mirror_ip - (optional) is a type of string
  mirror_ip = var.mirror_ip
  # mirror_secondary_ip - (optional) is a type of string
  mirror_secondary_ip = var.mirror_secondary_ip
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "this" {
  value = bigip_cm_device.this
}

top