Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.35 KB

aviatrix_gateway_certificate_config.md

File metadata and controls

81 lines (60 loc) · 1.35 KB

aviatrix_gateway_certificate_config

back

Index

Terraform

terraform {
  required_providers {
    aviatrix = ">= 2.18.2"
  }
}

top

Example Usage

module "aviatrix_gateway_certificate_config" {
  source = "./modules/aviatrix/r/aviatrix_gateway_certificate_config"

  # ca_certificate - (required) is a type of string
  ca_certificate = null
  # ca_private_key - (required) is a type of string
  ca_private_key = null
}

top

Variables

variable "ca_certificate" {
  description = "(required) - CA Certificate."
  type        = string
}

variable "ca_private_key" {
  description = "(required) - CA Private Key."
  type        = string
}

top

Resource

resource "aviatrix_gateway_certificate_config" "this" {
  # ca_certificate - (required) is a type of string
  ca_certificate = var.ca_certificate
  # ca_private_key - (required) is a type of string
  ca_private_key = var.ca_private_key
}

top

Outputs

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

output "this" {
  value = aviatrix_gateway_certificate_config.this
}

top