Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ locals {

tailscale_peer_relay_port = 40000

// Modify these to use your own VPC
# Modify these to use your own VPC
vpc_cidr_block = module.vpc.vpc_cidr_block
vpc_id = module.vpc.vpc_id
public_subnet_id = module.vpc.public_subnets[0]
private_subnet_id = module.vpc.private_subnets[0]
instance_type = "c7g.medium"
}

// Remove this to use your own VPC.
# Remove this to use your own VPC.
module "vpc" {
source = "../internal-modules/aws-vpc"

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/aws-ec2-autoscaling-session-recorder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ locals {
"--ssh",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
vpc_cidr_block = module.vpc.vpc_cidr_block
vpc_id = module.vpc.vpc_id
subnet_id = module.vpc.private_subnets[0]
Expand All @@ -25,7 +25,7 @@ locals {
])
}

// Remove this to use your own VPC.
# Remove this to use your own VPC.
module "vpc" {
source = "../internal-modules/aws-vpc"

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/aws-ec2-autoscaling/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ locals {
])}",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
vpc_cidr_block = module.vpc.vpc_cidr_block
vpc_id = module.vpc.vpc_id
subnet_id = module.vpc.public_subnets[0]
security_group_ids = [aws_security_group.tailscale.id]
instance_type = "c7g.medium"
}

// Remove this to use your own VPC.
# Remove this to use your own VPC.
module "vpc" {
source = "../internal-modules/aws-vpc"

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/aws-ec2-instance-dual-stack-ipv4-ipv6/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ locals {
])}",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
vpc_cidr_block = module.vpc.vpc_cidr_block
vpc_id = module.vpc.vpc_id
subnet_id = module.vpc.public_subnets[0]
security_group_ids = [aws_security_group.tailscale.id]
instance_type = "c7g.medium"
}

// Remove this to use your own VPC.
# Remove this to use your own VPC.
module "vpc" {
source = "../internal-modules/aws-vpc"

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/aws-ec2-instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ locals {
])}",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
vpc_cidr_block = module.vpc.vpc_cidr_block
vpc_id = module.vpc.vpc_id
subnet_id = module.vpc.public_subnets[0]
security_group_ids = [aws_security_group.tailscale.id]
instance_type = "c7g.medium"
}

// Remove this to use your own VPC.
# Remove this to use your own VPC.
module "vpc" {
source = "../internal-modules/aws-vpc"

Expand Down
2 changes: 1 addition & 1 deletion terraform/azure/azure-linux-vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {
))}",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
resource_group_id = azurerm_resource_group.main.id
resource_group_name = azurerm_resource_group.main.name
location = azurerm_resource_group.main.location
Expand Down
2 changes: 1 addition & 1 deletion terraform/google/google-compute-instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {
))}",
]

// Modify these to use your own VPC
# Modify these to use your own VPC
project_id = var.project_id
region = var.region
zone = var.zone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "google_compute_instance" "tailscale_instance" {
network_interface {
subnetwork = var.subnet
access_config {
// Ephemeral public IP
# Ephemeral public IP
}
}

Expand Down
Loading