Skip to content

shurkys/terraform-aws-healthchecks

Repository files navigation

Healthchecks on AWS Fargate Terraform Module

SWUbanner

Healthchecks.io is a service for monitoring cron jobs and similar periodic processes:

Based on terraform-aws-atlantis

Requirements

Name Version
terraform >= 1.0

Providers

No providers.

Modules

Name Source Version
acm terraform-aws-modules/acm/aws 5.0.0
alb terraform-aws-modules/alb/aws 9.1.0
ecs_cluster terraform-aws-modules/ecs/aws//modules/cluster 5.6.0
ecs_service terraform-aws-modules/ecs/aws//modules/service 5.6.0

Resources

No resources.

Inputs

Name Description Type Default Required
alb Map of values passed to ALB module definition. See the ALB module for full list of arguments supported any {} no
alb_https_default_action Default action for the ALB https listener any
{
"forward": {
"target_group_key": "healthchecks"
}
}
no
alb_internal Internet-facing (false) or Internal (true). An internet-facing load balancer routes requests from clients to targets over the internet. An internal load balancer routes requests to targets using private IP addresses. bool false no
alb_security_group_id ID of an existing security group that will be used by ALB. Required if create_alb is false string "" no
alb_security_group_ingress_rules Custom ingress rules for alb security group
map(object({
from_port = number
to_port = number
protocol = string
cidr_ipv4 = string
}))
null no
alb_subnets List of subnets to place ALB in. Required if create_alb is true list(string) [] no
alb_target_group_arn ARN of an existing ALB target group that will be used to route traffic to the Healthchecks service. Required if create_alb is false string "" no
certificate_arn ARN of certificate issued by AWS ACM. If empty, a new ACM certificate will be created and validated using Route53 DNS string "" no
certificate_domain_name Route53 domain name to use for ACM certificate. Route53 zone for this domain should be created in advance. Specify if it is different from value in route53_zone_name string "" no
cluster Map of values passed to ECS cluster module definition. See the ECS cluster module for full list of arguments supported any {} no
cluster_arn ARN of an existing ECS cluster where resources will be created. Required when create_cluster is false string "" no
create Controls if resources should be created (affects nearly all resources) bool true no
create_alb Determines whether to create an ALB or not bool true no
create_certificate Determines whether to create an ACM certificate or not. If false, certificate_arn must be provided bool true no
create_cluster Whether to create an ECS cluster or not bool true no
create_route53_records Determines whether to create Route53 A and AAAA records for the loadbalancer bool true no
healthchecks Map of values passed to Healthchecks container definition. See the ECS container definition module for full list of arguments supported any {} no
healthchecks_gid GID of the healthchecks user number 1000 no
healthchecks_uid UID of the healthchecks user number 100 no
name Common name to use on all resources created unless a more specific name is provided string "healthchecks" no
route53_record_name Name of Route53 record to create ACM certificate in and main A-record. If null is specified, var.name is used instead. Provide empty string to point root domain name to ALB. string null no
route53_zone_id Route53 zone ID to use for ACM certificate and Route53 records string "" no
service Map of values passed to ECS service module definition. See the ECS service module for full list of arguments supported any {} no
service_subnets List of subnets to place ECS service within list(string) [] no
tags A map of tags to add to all resources map(string) {} no
validate_certificate Determines whether to validate ACM certificate using Route53 DNS. If false, certificate will be created but not validated bool true no
vpc_id ID of the VPC where the resources will be provisioned string "" no

Outputs

Name Description
alb ALB created and all of its associated outputs
cluster ECS cluster created and all of its associated outputs
service ECS service created and all of its associated outputs
url URL of Healthchecks

About

Healthchecks on AWS Fargate Terraform Module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages