File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ resource "aws_vpc" "default" {
3333 cidr_block = " 172.31.0.0/16"
3434 enable_dns_support = true
3535 enable_dns_hostnames = true
36+
3637 tags = {
3738 Name = " imms-${ var . environment } -fhir-api-vpc"
3839 }
@@ -49,13 +50,15 @@ resource "aws_subnet" "public" {
4950
5051resource "aws_internet_gateway" "default" {
5152 vpc_id = aws_vpc. default . id
53+
5254 tags = {
5355 Name = " imms-${ var . environment } -fhir-api-igw"
5456 }
5557}
5658
5759resource "aws_route_table" "public" {
5860 vpc_id = aws_vpc. default . id
61+
5962 tags = {
6063 Name = " imms-${ var . environment } -fhir-api-public-rtb"
6164 }
@@ -91,10 +94,15 @@ resource "aws_eip" "nat" {
9194resource "aws_nat_gateway" "default" {
9295 allocation_id = aws_eip. nat . id
9396 subnet_id = aws_subnet. public [0 ]. id
97+
98+ tags = {
99+ Name = " imms-${ var . environment } -fhir-api-nat"
100+ }
94101}
95102
96103resource "aws_route_table" "private" {
97104 vpc_id = aws_vpc. default . id
105+
98106 tags = {
99107 Name = " imms-${ var . environment } -fhir-api-private-rtb"
100108 }
You can’t perform that action at this time.
0 commit comments