Skip to content

Latest commit

 

History

History
132 lines (106 loc) · 2.73 KB

checkpoint_management_https_layer.md

File metadata and controls

132 lines (106 loc) · 2.73 KB

checkpoint_management_https_layer

back

Index

Terraform

terraform {
  required_providers {
    checkpoint = ">= 1.4.0"
  }
}

top

Example Usage

module "checkpoint_management_https_layer" {
  source = "./modules/checkpoint/r/checkpoint_management_https_layer"

  # color - (optional) is a type of string
  color = null
  # comments - (optional) is a type of string
  comments = null
  # ignore_errors - (optional) is a type of bool
  ignore_errors = null
  # ignore_warnings - (optional) is a type of bool
  ignore_warnings = null
  # name - (required) is a type of string
  name = null
  # shared - (optional) is a type of bool
  shared = null
  # tags - (optional) is a type of set of string
  tags = []
}

top

Variables

variable "color" {
  description = "(optional) - Color of the object. Should be one of existing colors."
  type        = string
  default     = null
}

variable "comments" {
  description = "(optional) - Comments string."
  type        = string
  default     = null
}

variable "ignore_errors" {
  description = "(optional) - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored."
  type        = bool
  default     = null
}

variable "ignore_warnings" {
  description = "(optional) - Apply changes ignoring warnings."
  type        = bool
  default     = null
}

variable "name" {
  description = "(required) - Object name."
  type        = string
}

variable "shared" {
  description = "(optional) - Define the Layer as Shared (TRUE/FALSE)."
  type        = bool
  default     = null
}

variable "tags" {
  description = "(optional) - Collection of tag identifiers."
  type        = set(string)
  default     = null
}

top

Resource

resource "checkpoint_management_https_layer" "this" {
  # color - (optional) is a type of string
  color = var.color
  # comments - (optional) is a type of string
  comments = var.comments
  # ignore_errors - (optional) is a type of bool
  ignore_errors = var.ignore_errors
  # ignore_warnings - (optional) is a type of bool
  ignore_warnings = var.ignore_warnings
  # name - (required) is a type of string
  name = var.name
  # shared - (optional) is a type of bool
  shared = var.shared
  # tags - (optional) is a type of set of string
  tags = var.tags
}

top

Outputs

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

output "this" {
  value = checkpoint_management_https_layer.this
}

top