My specific case is for getting the amazon EC2 authentication information stored in the environments.yaml.
I am aware of the get-constraints command available in recent Juju builds. Can this be used to access this information?
|
|
|||
|
|
Try passing the information you need as config parameters for the charm. To do this, you'd:
|
||||
|
|
At this time you can not access Environment varaibables. If your charm requires authentication information you'll need to add it as a configuration option for that Charm (Charms should be designed to deploy on all stacks, so not every provider will have something like an ec2-authentication key). If you require AWS services in your charm consider exposing those in the configuration with something like this:
So these would be set using the |
|||
|
|
