We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a3693 commit 9235496Copy full SHA for 9235496
terraform/aws/aws-ec2-instance/main.tf
@@ -47,18 +47,11 @@ module "tailscale_aws_ec2" {
47
tailscale_auth_key = tailscale_tailnet_key.main.key
48
tailscale_set_preferences = [
49
"--auto-update",
50
+ "--ssh",
51
+ "--advertise-connector",
52
+ "--advertise-exit-node",
53
+ "--advertise-routes=${join(",", [module.vpc.vpc_cidr_block])}",
54
]
- tailscale_ssh = true
- tailscale_advertise_exit_node = true
-
- tailscale_advertise_routes = [
55
- module.vpc.vpc_cidr_block,
56
- ]
57
58
- tailscale_advertise_connector = true
59
- # tailscale_advertise_aws_service_names = [
60
- # "GLOBALACCELERATOR",
61
- # ]
62
63
depends_on = [
64
module.vpc.natgw_ids, # ensure NAT gateway is available before instance provisioning - primarily for private subnets
0 commit comments