Puppet Function: aws_firewall::region::current
- Defined in:
- functions/region/current.pp
- Function type:
- Puppet Language
Overview
Get the AWS region in which the node is running.
5 6 7 |
# File 'functions/region/current.pp', line 5
function aws_firewall::region::current() >> AWS_Firewall::Region {
$facts['ec2_metadata']['placement']['availability-zone'][0,-2]
}
|