Installation Create a .ebextensions/rootly.config file. (The name does not have to be 'rootly'.)
Put this content into the file (Adapt for your use case)
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/01rootly.sh" :
mode: "000775"
owner: root
group: users
content: |
rootly_api_key = "$( /opt/elasticbeanstalk/bin/get-config container -k rootly_api_key) " ;
environment = "$( /opt/elasticbeanstalk/bin/get-config container -k environment) " ;
service = "$( /opt/elasticbeanstalk/bin/get-config container -k service ) " ;
labels = "key=value,key2=value2"
curl -fsSL https://raw.githubusercontent.com/rootly-io/cli/main/install.sh | sh
rootly pulse --api-key "${rootly_api_key} " --quiet --environments "${environment} " --services "${service} " --labels "${labels} " Deploy in progress.. .
Support If you need help or more information about this integration, please contact or use the lower right chat widget to get connected with an engineer.