Cloud-init on steroids! Extend your custom scripts with variables 👩🏾💻
Custom scripts help you run arbitrary commands on your server on its very first boot. With variables, you can extend these commands to use data that is not yet available when a deployment is requested.
For instance, you could write a custom script to send the hostname, IP and password of your recently deployed server to a Slack channel, or add it to your Ansible inventory, or both!
Custom scripts variables are incredibly helpful to make initial changes to your servers or making sure they check-in to your infrastructure automatically.
Available variables and an example of how it can be used can be found on the Help Center →