athena-child-env-register
Command that registers child environments in Consul.
Usage
athena-child-env-register [OPTIONS] COMMAND [ARGS]...
| Option | Description | 
|---|---|
| -h, –help | Show built-in help documentation. | 
| -v, –verbose | Enable verbose output. | 
Commands
Add
Add environment as a child to current in the consul register.
athena-child-env-register add <owner> <environment>
Arguments
<owner>- Environment owner.<environment>- Environment name.
Remove
Remove environment as a child to current in the consul register.
athena-child-env-register remove <owner> <environment>
Arguments
<owner>- Environment owner.<environment>- Environment name.
Extending
To modify child environment register management operations edit child-env-register.yml in environment playbook directory.
Examples
To add environment as a child (owner - test, name - dev):
athena-child-env-register add test dev
To remove environment as a child (owner - test, name - dev):
athena-child-env-register remove test dev