File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
terraform/aws/aws-ec2-autoscaling Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -45,27 +45,15 @@ resource "tailscale_tailnet_key" "main" {
4545 tags = local. tailscale_acl_tags
4646}
4747
48- resource "aws_network_interface" "primary" {
49- subnet_id = local. subnet_id
50- security_groups = local. security_group_ids
51- tags = local. aws_tags
52- }
53- resource "aws_eip" "primary" {
54- tags = local. aws_tags
55- }
56- resource "aws_eip_association" "primary" {
57- network_interface_id = aws_network_interface. primary . id
58- allocation_id = aws_eip. primary . id
59- }
60-
6148module "tailscale_aws_ec2_autoscaling" {
6249 source = " ../internal-modules/aws-ec2-autoscaling/"
6350
6451 autoscaling_group_name = local. name
6552 instance_type = local. instance_type
6653 instance_tags = local. aws_tags
6754
68- network_interfaces = [aws_network_interface . primary . id ]
55+ subnet_id = local. subnet_id
56+ security_group_ids = local. security_group_ids
6957
7058 # Variables for Tailscale resources
7159 tailscale_auth_key = tailscale_tailnet_key. main . key
You can’t perform that action at this time.
0 commit comments