Skip to content

Commit 12f3fd4

Browse files
authored
terraform: upgrade modules and providers (#40)
* also fix session recorder docker issue
1 parent 2cbf13d commit 12f3fd4

File tree

30 files changed

+125
-71
lines changed

30 files changed

+125
-71
lines changed

terraform/aws/aws-ec2-autoscaling-dual-subnet/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
output "resource_name_prefix" {
2+
value = local.name
3+
}
4+
15
output "vpc_id" {
26
value = module.vpc.vpc_id
37
}

terraform/aws/aws-ec2-autoscaling-dual-subnet/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
tailscale = {
44
source = "tailscale/tailscale"
5-
version = ">= 0.13.13"
5+
version = ">= 0.24"
66
}
77
}
88
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
output "resource_name_prefix" {
2+
value = local.name
3+
}
4+
15
output "vpc_id" {
26
value = module.vpc.vpc_id
37
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ tee /etc/apt/sources.list.d/docker.list > /dev/null
1919
apt-get -qq update
2020
apt-get -yqq install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
2121

22+
mkdir -p "$HOME/tsrecorder/state"
23+
2224
docker run \
2325
--rm -d \
2426
--name tsrecorder \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
tailscale = {
44
source = "tailscale/tailscale"
5-
version = ">= 0.13.13"
5+
version = ">= 0.24"
66
}
77
}
88
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
output "resource_name_prefix" {
2+
value = local.name
3+
}
4+
15
output "vpc_id" {
26
value = module.vpc.vpc_id
37
}

terraform/aws/aws-ec2-autoscaling/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
tailscale = {
44
source = "tailscale/tailscale"
5-
version = ">= 0.13.13"
5+
version = ">= 0.24"
66
}
77
}
88
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
output "resource_name_prefix" {
2+
value = local.name
3+
}
4+
15
output "vpc_id" {
26
value = module.vpc.vpc_id
37
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
tailscale = {
44
source = "tailscale/tailscale"
5-
version = ">= 0.13.13"
5+
version = ">= 0.24"
66
}
77
}
88
}

terraform/aws/aws-ec2-instance/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
output "resource_name_prefix" {
2+
value = local.name
3+
}
4+
15
output "vpc_id" {
26
value = module.vpc.vpc_id
37
}

0 commit comments

Comments
 (0)