Skip to content

Commit

Permalink
feat!: Update default source image and family to latest CentOS 7 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
xSAVIKx authored Dec 2, 2020
1 parent ae4d777 commit 6310016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/instance_template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
###############
data "google_compute_image" "image" {
project = var.source_image != "" ? var.source_image_project : "centos-cloud"
name = var.source_image != "" ? var.source_image : "centos-6-v20180716"
name = var.source_image != "" ? var.source_image : "centos-7-v20201112"
}

data "google_compute_image" "image_family" {
project = var.source_image_family != "" ? var.source_image_project : "centos-cloud"
family = var.source_image_family != "" ? var.source_image_family : "centos-6"
family = var.source_image_family != "" ? var.source_image_family : "centos-7"
}

#########
Expand Down

0 comments on commit 6310016

Please sign in to comment.