Skip to content

Commit

Permalink
List of global variables, target groups are referenced by ARN
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Bamford committed Apr 1, 2018
1 parent d39b780 commit 0c54979
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,23 @@ A list of tag keys to match when building a dictionary of subnet IDs. When speci
A list of tag keys to match when building a dictionary of security group IDs. When specified, the global host variable `security_group_ids` contains a nested dictionary of resource IDs denominated by tag values. If not specified, no dictonary is set.

`elb_target_group_tags:`
A list of tag keys to match when building a dictionary of ELB target groups IDs. When specified, the global host variable `elb_target_group_ids` contains a nested dictionary of resource IDs denominated by tag values. If not specified, no dictonary is set.
A list of tag keys to match when building a dictionary of ELB target groups IDs. When specified, the global host variable `elb_target_group_arns` contains a nested dictionary of resource IDs denominated by tag values. If not specified, no dictonary is set.


# Global Variables

The following host variables are set by this plugin for every host Ansible attempts to manage, essentially these are global variables usable anywhere within your playbooks or roles.

- `aws_account_ids` - a dictionary of AWS account IDs with profile name as keys and account ID as values.
- `aws_profile` - the currently selected AWS profile when matched by extra vars
- `elb_target_groups` - a dictionary of ELB target groups with resource ID as keys and dictionary of useful information as values
- `elb_target_group_arns` - a complex nested dictionary of ELB target group ARNs denominated by matched tag values
- `security_groups` - a dictionary of security groups with resource ID as keys and ductionary of useful information as values
- `security_group_ids` - a complex nested dictionary of security group IDs denominated by matched tag values
- `subnets` - a dictionary of subnets with resource ID as keys and ductionary of useful information as values
- `subnet_ids` - a complex nested dictionary of subnet IDs denominated by matched tag values
- `vpcs` - a dictionary of VPCs with resource ID as keys and ductionary of useful information as values
- `vpc_ids` - a complex nested dictionary of VPC IDs denominated by matched tag values


# AWS Resources
Expand Down

0 comments on commit 0c54979

Please sign in to comment.