lambda
azavea/lambda/tegola
A Terraform module to create an Amazon Web Services (AWS) Lambda based Tegola vector tile service.
terraform-tegola-lambda A Terraform module to create an Amazon Web Services (AWS) Lambda based Tegola vector tile service. Usage ``hcl module "tegola" { source = "github.com/azavea/terraform-tegola-lambda?ref=develop" function_archive_path = "${path.module}/../tegola_lambda.zip" function_timeout_in_sec = "10" function_memory_in_mb = "128" database_hostname = "database.service.tegola.internal" database_name = "tegola" database_username = "tegola" database_password = "tegola" s3_cache_bucket = "tegola-cache" vpc_id = "vpc-20f74844" subnet_ids = [...] domain_name = "tegola.azavea.com" certificate_arn = "arn:aws:acm..." project = "Something" environment = "Staging" } ` Variables - vpc_id - ID of VPC meant to house the Lambda execution environment - subnet_ids - A list of subnet IDs to launch f
| Name | Type | Description | Default |
|---|---|---|---|
| database_hostname | any | PostGIS enabled PostgreSQL hostname | required |
| subnet_ids | any | A list of subnet IDs to launch function instances | required |
| function_archive_path | any | Local file system path for Tegola archive | required |
| s3_cache_bucket | any | S3 bucket used for Tegola caching | required |
| database_username | any | PostgreSQL username | required |
| domain_name | any | Domain name to associate with API Gateway | required |
| vpc_id | any | ID of VPC meant to house the Lambda execution environment | required |
| database_password | any | PostgreSQL password | required |
| certificate_arn | any | Amazon Resource Name for a TLS certificate to associate with API Gateway | required |
| database_name | any | PostgreSQL database name | required |
| function_timeout_in_sec | any | Function timeout in seconds | "10" |
| environment | any | Name of environment Tegola is targeting | "Unknown" |
| function_memory_in_mb | any | Function memory in megabytes | "128" |
| project | any | Name of project for Tegola | "Unknown" |
| log_group_retention_in_days | any | CloudWatch Log group retention period in days | "30" |
| database_port | any | PostgreSQL port | "5432" |
function_service_role_namefunction_service_role_arn — Function IAM role namefunction_security_group_id — Function IAM role ARNdomain_name — Domain name associated with API Gatewaycloudfront_domain_name — CloudFront distribution domain name associated with API Gatewaycloudfront_zone_id — CloudFront distribution zone ID associated with API GatewayAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,