Skip to content

Commit 585a75b

Browse files
authored
terraform: remove unused/deprecated examples and other cleanup (#56)
- Removes get-routes-aws.bash.tftpl. - _Use [AWS Preset apps](https://tailscale.com/docs/features/app-connectors/how-to/setup#add-a-preset-app) instead._ - Removes aws-ec2-autoscaling-session-recorder. - _Use [Tailscale PAM](https://tailscale.com/docs/privileged-access-management/session-logs) instead._ - Other cleanup - removes extraneous outputs, rename some variables and files.
1 parent 09389ea commit 585a75b

26 files changed

Lines changed: 19 additions & 499 deletions

File tree

‎terraform/aws/aws-ec2-autoscaling-relay-to-private-subnet/outputs.tf‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,10 @@ output "vpc_id" {
66
value = module.vpc.vpc_id
77
}
88

9-
output "vpc_cidr" {
10-
value = module.vpc.vpc_cidr_block
11-
}
12-
13-
output "nat_public_ips" {
14-
value = module.vpc.nat_public_ips
15-
}
16-
179
output "connector_autoscaling_group_name" {
1810
value = module.connector.autoscaling_group_name
1911
}
2012

2113
output "relay_autoscaling_group_name" {
2214
value = module.relay.autoscaling_group_name
2315
}
24-
25-
output "connector_user_data_md5" {
26-
description = "MD5 hash of the VM user_data script - for detecting changes"
27-
value = module.connector.user_data_md5
28-
sensitive = true
29-
}
30-
31-
output "relay_user_data_md5" {
32-
description = "MD5 hash of the VM user_data script - for detecting changes"
33-
value = module.relay.user_data_md5
34-
sensitive = true
35-
}

‎terraform/aws/aws-ec2-autoscaling-session-recorder/README.md‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎terraform/aws/aws-ec2-autoscaling-session-recorder/main.tf‎

Lines changed: 0 additions & 212 deletions
This file was deleted.

‎terraform/aws/aws-ec2-autoscaling-session-recorder/outputs.tf‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎terraform/aws/aws-ec2-autoscaling-session-recorder/scripts/tsrecorder_docker.tftpl‎

Lines changed: 0 additions & 38 deletions
This file was deleted.

‎terraform/aws/aws-ec2-autoscaling-session-recorder/versions.tf‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎terraform/aws/aws-ec2-autoscaling/outputs.tf‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ output "vpc_id" {
66
value = module.vpc.vpc_id
77
}
88

9-
output "vpc_cidr" {
10-
value = module.vpc.vpc_cidr_block
11-
}
12-
13-
output "nat_public_ips" {
14-
value = module.vpc.nat_public_ips
15-
}
16-
179
output "autoscaling_group_name" {
1810
value = module.tailscale_aws_ec2_autoscaling.autoscaling_group_name
1911
}
20-
21-
output "user_data_md5" {
22-
description = "MD5 hash of the VM user_data script - for detecting changes"
23-
value = module.tailscale_aws_ec2_autoscaling.user_data_md5
24-
sensitive = true
25-
}

‎terraform/aws/aws-ec2-instance-dual-stack-ipv4-ipv6/outputs.tf‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ output "vpc_id" {
66
value = module.vpc.vpc_id
77
}
88

9-
output "vpc_cidr" {
10-
value = module.vpc.vpc_cidr_block
11-
}
12-
13-
output "nat_public_ips" {
14-
value = module.vpc.nat_public_ips
15-
}
16-
179
output "instance_ids" {
1810
value = module.tailscale_aws_ec2[*].instance_id
1911
}
20-
21-
output "user_data_md5" {
22-
description = "MD5 hash of the VM user_data script - for detecting changes"
23-
value = module.tailscale_aws_ec2.user_data_md5
24-
sensitive = true
25-
}

0 commit comments

Comments
 (0)