We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c8cbc commit 927f642Copy full SHA for 927f642
main.tf
@@ -39,7 +39,7 @@ module "node" {
39
image_id = module.this.enabled ? data.aws_ssm_parameter.linux_ami[0].value : ""
40
instance_type = "t3.nano"
41
health_check_type = "EC2"
42
- user_data_base64 = base64encode(module.this.enabled ? data.template_cloudinit_config.this[0].rendered : "")
+ user_data_base64 = base64encode(module.this.enabled ? data.cloudinit_config.this[0].rendered : "")
43
force_delete = true
44
disable_api_termination = false
45
update_default_version = true
@@ -85,7 +85,7 @@ module "node" {
85
context = module.this.context
86
}
87
88
-data "template_cloudinit_config" "this" {
+data "cloudinit_config" "this" {
89
count = module.this.enabled ? 1 : 0
90
91
gzip = true
0 commit comments