Re-run terraform fmt for formatting

This commit is contained in:
Dalton Hubble 2018-05-14 23:38:16 -07:00
parent c2b719dc75
commit 983489bb52
5 changed files with 13 additions and 13 deletions

View File

@ -3,6 +3,7 @@ locals {
# coreos-stable -> Container Linux AMI # coreos-stable -> Container Linux AMI
# flatcar-stable -> Flatcar Linux AMI # flatcar-stable -> Flatcar Linux AMI
ami_id = "${local.flavor == "flatcar" ? data.aws_ami.flatcar.image_id : data.aws_ami.coreos.image_id}" ami_id = "${local.flavor == "flatcar" ? data.aws_ami.flatcar.image_id : data.aws_ami.coreos.image_id}"
flavor = "${element(split("-", var.os_image), 0)}" flavor = "${element(split("-", var.os_image), 0)}"
channel = "${element(split("-", var.os_image), 1)}" channel = "${element(split("-", var.os_image), 1)}"
} }
@ -46,4 +47,3 @@ data "aws_ami" "flatcar" {
values = ["Flatcar-${local.channel}-*"] values = ["Flatcar-${local.channel}-*"]
} }
} }

View File

@ -3,6 +3,7 @@ locals {
# coreos-stable -> Container Linux AMI # coreos-stable -> Container Linux AMI
# flatcar-stable -> Flatcar Linux AMI # flatcar-stable -> Flatcar Linux AMI
ami_id = "${local.flavor == "flatcar" ? data.aws_ami.flatcar.image_id : data.aws_ami.coreos.image_id}" ami_id = "${local.flavor == "flatcar" ? data.aws_ami.flatcar.image_id : data.aws_ami.coreos.image_id}"
flavor = "${element(split("-", var.os_image), 0)}" flavor = "${element(split("-", var.os_image), 0)}"
channel = "${element(split("-", var.os_image), 1)}" channel = "${element(split("-", var.os_image), 1)}"
} }
@ -46,4 +47,3 @@ data "aws_ami" "flatcar" {
values = ["Flatcar-${local.channel}-*"] values = ["Flatcar-${local.channel}-*"]
} }
} }