back
terraform {
required_providers {
checkpoint = ">= 1.4.0"
}
}
top
module "checkpoint_hostname" {
source = "./modules/checkpoint/r/checkpoint_hostname"
# name - (required) is a type of string
name = null
}
top
variable "name" {
description = "(required) - interface name"
type = string
}
top
resource "checkpoint_hostname" "this" {
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = checkpoint_hostname.this.id
}
output "this" {
value = checkpoint_hostname.this
}
top