sparse-intern-71089
04/15/2020, 12:42 PMcolossal-room-15708
04/15/2020, 1:29 PMrhythmic-camera-25993
04/15/2020, 2:21 PMuserData
on an instance to support the cloud-init
mechanism for instance initialization. Terraform has a resource for userdata customization that I found pretty handy (https://www.terraform.io/docs/providers/template/d/cloudinit_config.html) but you can also craft your own string and set the userData
field directly from that. In case you're on AWS, here's the docs for cloud-init on ec2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html#user-data-cloud-initstale-minister-93676
04/15/2020, 2:22 PMrhythmic-camera-25993
04/15/2020, 2:23 PMcloud-init
yamls for, so you're in the right space. the string you'd end up setting would be a cloud-init yaml, which then would get run on instance standup. I've been using this for a few months now and been very happy to remove ansible from my instance configurations 😄stale-minister-93676
04/15/2020, 2:25 PMcolossal-room-15708
04/15/2020, 2:27 PMrhythmic-camera-25993
04/15/2020, 2:29 PMbroad-dog-22463
04/15/2020, 2:40 PMbroad-dog-22463
04/15/2020, 2:40 PMbroad-dog-22463
04/15/2020, 2:40 PMbroad-dog-22463
04/15/2020, 2:41 PMhigh-jackal-29091
04/15/2020, 3:02 PM