Skip to content

Commit

Permalink
Merge pull request #23 from utilitywarehouse/flatcar
Browse files Browse the repository at this point in the history
rename var.coreos_image to var.container_linux_image
  • Loading branch information
ribbybibby authored Feb 24, 2020
2 parents 3647e8e + 7a3fadd commit 35313cc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cfssl.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "google_compute_instance" "cfssl" {

boot_disk {
initialize_params {
image = var.coreos_image
image = var.container_linux_image
}

auto_delete = true
Expand Down
2 changes: 1 addition & 1 deletion etcd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "google_compute_instance" "etcd" {

boot_disk {
initialize_params {
image = var.coreos_image
image = var.container_linux_image
}

auto_delete = true
Expand Down
2 changes: 1 addition & 1 deletion masters.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "google_compute_instance_template" "master" {
can_ip_forward = true

disk {
source_image = var.coreos_image
source_image = var.container_linux_image
auto_delete = true
boot = true
disk_size_gb = "50"
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Common
variable "coreos_image" {
description = "The coreos image to use. Default to the latest from the stable channel"
variable "container_linux_image" {
description = "The container linux image to use. Default to the latest from the stable channel"
default = "projects/coreos-cloud/global/images/family/coreos-stable"
}

Expand Down
2 changes: 1 addition & 1 deletion workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "google_compute_instance_template" "worker" {
can_ip_forward = true

disk {
source_image = var.coreos_image
source_image = var.container_linux_image
auto_delete = true
boot = true
disk_size_gb = "50"
Expand Down

0 comments on commit 35313cc

Please sign in to comment.