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 eb2f1dd commit f45f49eCopy full SHA for f45f49e
1 file changed
main.tf
@@ -40,7 +40,7 @@ module "proxy" {
40
image_id = data.aws_ssm_parameter.linux_ami.value
41
instance_type = "t3.nano"
42
health_check_type = "ELB"
43
- 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 : "")
44
force_delete = true
45
disable_api_termination = false
46
update_default_version = true
@@ -86,7 +86,7 @@ module "proxy" {
86
context = module.this.context
87
}
88
89
-data "template_cloudinit_config" "this" {
+data "cloudinit_config" "this" {
90
count = module.this.enabled ? 1 : 0
91
92
gzip = true
0 commit comments