access environment.yaml data from the hooks

Tudor Rogoz rogoz at
Fri Jul 11 08:44:34 UTC 2014

Hi all,

Is it possible to access the juju environment properties directly from the hooks?
More precisely, I want to have access to the AWS credentials (defined in the environments.yaml file) directly from the hooks, is this possible? I can workaround the situation, by defining specific config properties  and duplicate the information there and this way I can get the data by calling 'config-get' function.But I'm just thinking if maybe it would be a cleaner way to achieve this.Ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Juju mailing list