Terraform Console

variable "cidr_blocks" {
  description = "CIDR blocks"
  type = list(string)
  default = [
    "192.168.100.1/24",
    "192.168.100.2/24",
    "192.168.100.3/24",
  ]
}
$ terraform console
> var.cidr_blocks
tolist([
  "192.168.100.1/24",
  "192.168.100.2/24",
  "192.168.100.3/24",                                                                                                                      >
> exit
$
 
terraform/terraform-console.txt · Last modified: 21/12/2022 11:51 by andrew