back
terraform {
required_providers {
bigip = ">= 1.8.0"
}
}
top
module "bigip_do" {
source = "./modules/bigip/r/bigip_do"
# do_json - (required) is a type of string
do_json = null
# tenant_name - (optional) is a type of string
tenant_name = null
# timeout - (optional) is a type of number
timeout = null
}
top
variable "do_json" {
description = "(required) - DO json"
type = string
}
variable "tenant_name" {
description = "(optional) - unique identifier for DO resource"
type = string
default = null
}
variable "timeout" {
description = "(optional) - DO json"
type = number
default = null
}
top
resource "bigip_do" "this" {
# do_json - (required) is a type of string
do_json = var.do_json
# tenant_name - (optional) is a type of string
tenant_name = var.tenant_name
# timeout - (optional) is a type of number
timeout = var.timeout
}
top
output "id" {
description = "returns a string"
value = bigip_do.this.id
}
output "this" {
value = bigip_do.this
}
top