From a53381bf38a7a8b7159d3b441cff5c5e632a4a67 Mon Sep 17 00:00:00 2001 From: lolli001 Date: Thu, 1 Aug 2024 18:52:58 -0400 Subject: [PATCH] updates --- build.pkr.hcl | 7 +++++++ vpc.tf | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build.pkr.hcl b/build.pkr.hcl index e51a67b..14f8c4b 100644 --- a/build.pkr.hcl +++ b/build.pkr.hcl @@ -15,6 +15,13 @@ source "amazon-ebs" "rhel" { source_ami = "ami-03fadeeea589a106b" ssh_username = "ec2-user" profile = "229685449397-csvd-dev-gov.inf-admin-t2" + vpc_id = "vpc-0ce37a45e0ff40df8" + subnet_id = "subnet-0a33be151456808bd" + + tags = { + "Name" = "rhel-image-pipeline-demo-instance" + "Project" = "rhel-image-pipeline-demo" + } } build { diff --git a/vpc.tf b/vpc.tf index 3bd4677..461d95f 100644 --- a/vpc.tf +++ b/vpc.tf @@ -5,7 +5,7 @@ resource "aws_vpc" "main" { enable_dns_hostnames = true tags = { - Name = "main-vpc" + Name = "rhel-pipeline-main-vpc" } } @@ -16,6 +16,6 @@ resource "aws_subnet" "main" { availability_zone = "us-gov-west-1a" tags = { - Name = "main-subnet" + Name = "rhel-pipeline-main-subnet" } } \ No newline at end of file