LaunchConfiguration contains base64 in user_data
nijave opened this issue · 0 comments
nijave commented
I run terraforming lc
and see the following:
resource "aws_launch_configuration" "lc" {
name = "some-cluster-launch-conf"
image_id = "ami-0796380bc6e51157f"
instance_type = "t3.large"
iam_instance_profile = "some-instance-profile"
security_groups = ["sg-1234567"]
user_data = "IyEvYmluL2Jhc2gKZWNobyBFQ1NfQ0xVU1RFUj1zb21lLWNsdXN0ZXIgPj4gL2V0Yy9lY3MvZWNzLmNvbmZpZwplY2hvIEVDU19JTlNUQU5DRV9BVFRSSUJVVEVTPSd7Imhvc3QtYWN0aXZlIjoidHJ1ZSJ9JyA+PiAvZXRjL2Vjcy9lY3MuY29uZmlnOwo="
enable_monitoring = true
ebs_optimized = false
}
(some IDs modified)
It looks like this should be user_data_base64
instead of user_data
https://www.terraform.io/docs/providers/aws/r/launch_configuration.html#user_data_base64