Skip to content

Latest commit

 

History

History
109 lines (84 loc) · 1.85 KB

oci_load_balancer_ssl_cipher_suites.md

File metadata and controls

109 lines (84 loc) · 1.85 KB

oci_load_balancer_ssl_cipher_suites

back

Index

Terraform

terraform {
  required_providers {
    oci = ">= 4.21.0"
  }
}

top

Example Usage

module "oci_load_balancer_ssl_cipher_suites" {
  source = "./modules/oci/d/oci_load_balancer_ssl_cipher_suites"

  # load_balancer_id - (optional) is a type of string
  load_balancer_id = null

  filter = [{
    name   = null
    regex  = null
    values = []
  }]
}

top

Variables

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

variable "filter" {
  description = "nested block: NestingSet, min items: 0, max items: 0"
  type = set(object(
    {
      name   = string
      regex  = bool
      values = list(string)
    }
  ))
  default = []
}

top

Datasource

data "oci_load_balancer_ssl_cipher_suites" "this" {
  # load_balancer_id - (optional) is a type of string
  load_balancer_id = var.load_balancer_id

  dynamic "filter" {
    for_each = var.filter
    content {
      # name - (required) is a type of string
      name = filter.value["name"]
      # regex - (optional) is a type of bool
      regex = filter.value["regex"]
      # values - (required) is a type of list of string
      values = filter.value["values"]
    }
  }

}

top

Outputs

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

output "ssl_cipher_suites" {
  description = "returns a list of object"
  value       = data.oci_load_balancer_ssl_cipher_suites.this.ssl_cipher_suites
}

output "this" {
  value = oci_load_balancer_ssl_cipher_suites.this
}

top