Skip to content

lbrlabs/terraform-aws-fargate-tailscalesubnetrouter

Repository files navigation

Inputs

Name Description Type Default Required
assign_public_ip Assign a public IP address to the container bool true no
cloudwatch_retention_days The number of days to retain logs in CloudWatch number 7 no
cpu The CPU value to assign to the container (vCPU) number 256 no
cpu_architecture The CPU architecture to use for the container. Either X86_64 or ARM64. string "X86_64" no
ecs_cluster_id The ID of the ECS cluster string n/a yes
memory The memory value to assign to the container (MiB) number 512 no
name A name for the Tailscale subnet router string n/a yes
security_group_ids The security group IDs to associate with the subnet router ECS service and EFS mount targets list(string) n/a yes
subnet_ids The subnet IDs to use for the ECS task list(string) n/a yes
tailscale_auth_key_secret The secret manager ARN for the Tailscale auth key string n/a yes
tailscale_extra_args The extra arguments to pass to the Tailscale cotnainer string "" no
tailscale_hostname The hostname of the tailscale client string n/a yes
tailscale_subnet_routes The subnet routes to advertise to the Tailscale network string "" no

Modules

No modules.

Outputs

Name Description
cloudwatch_log_group_name n/a
task_definition_arn n/a
task_definition_family n/a
task_definition_revision n/a
task_exec_role_arn n/a
task_exec_role_name n/a

Providers

Name Version
aws >= 5.30

Requirements

Name Version
terraform >= 1.0
aws >= 5.30

Resources

Name Type
aws_cloudwatch_log_group.tailscale resource
aws_ecs_service.tailscale resource
aws_ecs_task_definition.tailscale resource
aws_iam_policy.ecs_task_logs_tailscale resource
aws_iam_role.ecs_task_tailscale resource
aws_iam_role.exec_role resource
aws_iam_role_policy_attachment.ecs_task_logs_tailscale resource
aws_iam_role_policy_attachment.exec_policy resource
aws_iam_policy_document.ecs_assume_role data source
aws_iam_policy_document.ecs_task_logs_tailscale data source
aws_region.current data source

About

Run a tailscale subnet router in AWS Fargate

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages