diff --git a/main.tf b/main.tf index 8ff1edf..f0c6b71 100644 --- a/main.tf +++ b/main.tf @@ -81,7 +81,7 @@ module "container" { source = "terraform-google-modules/container-vm/google" version = "3.1.1" - cos_image_name = element(split("/", var.machine_image), length(split("/", var.machine_image)) -1) + cos_image_name = element(split("/", var.machine_image), length(split("/", var.machine_image)) - 1) container = { image = var.image