Using /etc/user-data


#1

Hi,

Gruntwork Installer creates /etc/user-data by default but I haven’t found an example of how to “activate” it. I’m assuming there is an example user-data.sh that gets installed to execute the scripts in that directory. The documentation references a dead link: https://github.com/gruntwork-io/script-modules.

Is there a module I’m not finding that will execute these scripts? Or has this method been deprecated?

thanks
-nate


#2

Ah, good catch. That is indeed some left over legacy code that isn’t really used. We had been considering putting all scripts meant to be run as part of User Data into /etc/user-data, but never ended up doing it, so that’s an unused directory that you can safely ignore.


#3

Cool. Thanks for the update.