Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

LaunchConfiguration contains base64 in user_data #461

Open
nijave opened this issue May 2, 2019 · 0 comments
Open

LaunchConfiguration contains base64 in user_data #461

nijave opened this issue May 2, 2019 · 0 comments

Comments

@nijave
Copy link

nijave commented May 2, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant