From 18b65da12282746ca4ace47461717c070a56e4e0 Mon Sep 17 00:00:00 2001 From: Yevgeniy Brikman Date: Tue, 6 Aug 2024 17:31:24 +0100 Subject: [PATCH] Add key pair to example --- ch7/tofu/live/vpc-ec2/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ch7/tofu/live/vpc-ec2/main.tf b/ch7/tofu/live/vpc-ec2/main.tf index 3744514..6ea0c6f 100644 --- a/ch7/tofu/live/vpc-ec2/main.tf +++ b/ch7/tofu/live/vpc-ec2/main.tf @@ -21,6 +21,9 @@ module "public_instance" { vpc_id = module.vpc.vpc.id subnet_id = module.vpc.public_subnet.id + # TODO: fill in your EC2 key pair name + key_name = "" + } module "private_instance" { @@ -35,4 +38,6 @@ module "private_instance" { vpc_id = module.vpc.vpc.id subnet_id = module.vpc.private_subnet.id + # TODO: fill in your EC2 key pair name + key_name = "" }