Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 1.63 KB

bigip_command.md

File metadata and controls

97 lines (74 loc) · 1.63 KB

bigip_command

back

Index

Terraform

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

top

Example Usage

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

  # command_result - (optional) is a type of list of string
  command_result = []
  # commands - (required) is a type of list of string
  commands = []
  # when - (optional) is a type of string
  when = null
}

top

Variables

variable "command_result" {
  description = "(optional) - Partition of ssl certificate"
  type        = list(string)
  default     = null
}

variable "commands" {
  description = "(required) - The commands to send to the remote BIG-IP device over the configured provider"
  type        = list(string)
}

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

top

Resource

resource "bigip_command" "this" {
  # command_result - (optional) is a type of list of string
  command_result = var.command_result
  # commands - (required) is a type of list of string
  commands = var.commands
  # when - (optional) is a type of string
  when = var.when
}

top

Outputs

output "command_result" {
  description = "returns a list of string"
  value       = bigip_command.this.command_result
}

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

output "this" {
  value = bigip_command.this
}

top