A terraform module for deploying lambda functions, state functions, required roles, and Dynamo DB for gateway tracking.
Requirements
No requirements.
Providers
Modules
No modules.
Resources
Inputs
Name |
Description |
Type |
Default |
Required |
availability_zones |
(optional) availability zones in the region |
list(string) |
[ "eu-west-2a", "eu-west-2b", "eu-west-2c" ] |
no |
aws_route53_zone |
DNS host zone |
string |
n/a |
yes |
cloudwatch_alarm_switch_cron |
Cron schedule to run CloudWatch Event rule which inturn will trigger a lambda function to enable/disable GP scale in event |
string |
"0 2,58 7,20 ? * MON,TUE,WED,THU,FRI *" |
no |
development |
Creates zip archives to make developer's life easier |
bool |
false |
no |
gp_client_ip_pools |
n/a |
list(any) |
[] |
no |
gp_gateway_hostname_template |
n/a |
string |
"MOJ-AW2-FW%02d%s" |
no |
host_zone_id |
DNS host zone ID |
string |
n/a |
yes |
lambda_function_dir |
Local dir name of the lambda functions |
string |
n/a |
yes |
lambda_subnet_ids |
A list of subnet IDs associated with the Lambda function |
list(string) |
n/a |
yes |
lamda_function_build_dir |
lambda function source directory |
string |
"package" |
no |
lamda_function_src_dir |
lambda function source directory |
string |
"src" |
no |
layer_function_build_dir |
layer function zip directory |
string |
"package" |
no |
layer_function_dir |
Local dir name of the lambda layer function |
string |
"lambda_layer_function" |
no |
name |
name to prepend to lambda functions and state machine |
string |
n/a |
yes |
panorama_api_key_ssm_key |
Panorama aws_lambda user's api key is stored under this parameter name in SSM |
string |
n/a |
yes |
panorama_ip_1 |
Panorama IP 1 |
string |
n/a |
yes |
panorama_ip_2 |
Panorama IP 2 |
string |
n/a |
yes |
public_ipv4_pool |
n/a |
string |
"amazon" |
no |
region |
lambda region |
string |
"eu-west-2" |
no |
reset_db_input |
Flag to reset GlobalProtect GP Dynamo DB |
map(string) |
{} |
no |
runtime |
The identifier of the function's runtime |
string |
"python3.6" |
no |
security_group_ids |
A list of security group IDs associated with the Lambda function |
list(string) |
n/a |
yes |
suffix_map |
n/a |
list(string) |
[ "A", "B", "C", "D" ] |
no |
tags |
n/a |
map(string) |
{} |
no |
tgw_rtb_id |
ID of the transit gateway route table |
string |
n/a |
yes |
vmseries_api_key_ssm_key |
VM-series bootstrap admin user's api key is stored under this parameter name in SSM |
string |
n/a |
yes |
Outputs