Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 1.24 KB

dme_secondary_ip_set.md

File metadata and controls

87 lines (65 loc) · 1.24 KB

dme_secondary_ip_set

back

Index

Terraform

terraform {
  required_providers {
    dme = ">= 0.1.3"
  }
}

top

Example Usage

module "dme_secondary_ip_set" {
  source = "./modules/dme/d/dme_secondary_ip_set"

  # ips - (optional) is a type of list of string
  ips = []
  # name - (required) is a type of string
  name = null
}

top

Variables

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

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

top

Datasource

data "dme_secondary_ip_set" "this" {
  # ips - (optional) is a type of list of string
  ips = var.ips
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "ips" {
  description = "returns a list of string"
  value       = data.dme_secondary_ip_set.this.ips
}

output "this" {
  value = dme_secondary_ip_set.this
}

top