back
terraform {
required_providers {
bigip = ">= 1.8.0"
}
}
top
module "bigip_ltm_irule" {
source = "./modules/bigip/r/bigip_ltm_irule"
# irule - (required) is a type of string
irule = null
# name - (required) is a type of string
name = null
}
top
variable "irule" {
description = "(required) - The iRule body"
type = string
}
variable "name" {
description = "(required) - Name of the iRule"
type = string
}
top
resource "bigip_ltm_irule" "this" {
# irule - (required) is a type of string
irule = var.irule
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = bigip_ltm_irule.this.id
}
output "this" {
value = bigip_ltm_irule.this
}
top