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