Name AWS and DigitalOcean Ignition data sources consistently

This commit is contained in:
Tamer Fahmy
2018-10-19 19:11:49 +02:00
committed by Dalton Hubble
parent f1da0731d8
commit bfa1a679eb
4 changed files with 8 additions and 8 deletions

View File

@ -46,7 +46,7 @@ resource "aws_launch_configuration" "worker" {
spot_price = "${var.spot_price}"
enable_monitoring = false
user_data = "${data.ct_config.worker_ign.rendered}"
user_data = "${data.ct_config.worker-ignition.rendered}"
# storage
root_block_device {
@ -77,7 +77,7 @@ data "template_file" "worker_config" {
}
}
data "ct_config" "worker_ign" {
data "ct_config" "worker-ignition" {
content = "${data.template_file.worker_config.rendered}"
pretty_print = false
snippets = ["${var.clc_snippets}"]