summaryrefslogtreecommitdiff
path: root/astroshop-terraform/modules/vpc
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-28 04:14:10 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-28 04:14:10 +0530
commit44b0d2d9dea535d5580d78ae4a5082732639e2bf (patch)
treeaa43fa10be6e3fa3348683cc0c866d8876af00d1 /astroshop-terraform/modules/vpc
parent912405a8f3f6b831b9abcf6e16a9372160e7ce32 (diff)
backend: Update S3 bucket configuration and add public access block
Diffstat (limited to 'astroshop-terraform/modules/vpc')
-rw-r--r--astroshop-terraform/modules/vpc/README.md4
-rw-r--r--astroshop-terraform/modules/vpc/main.tf3
2 files changed, 4 insertions, 3 deletions
diff --git a/astroshop-terraform/modules/vpc/README.md b/astroshop-terraform/modules/vpc/README.md
index bac9af0..7c30b17 100644
--- a/astroshop-terraform/modules/vpc/README.md
+++ b/astroshop-terraform/modules/vpc/README.md
@@ -207,8 +207,8 @@ Private Subnets (3):
```
┌────────────────────────────────────────────────────────────┐
-│ INTERNET │
-└───────────────────────┬──────────────────────────────────────┘
+│ INTERNET │
+└───────────────────────┬────────────────────────────────────┘
IGW (Internet Gateway)
diff --git a/astroshop-terraform/modules/vpc/main.tf b/astroshop-terraform/modules/vpc/main.tf
index 3694588..5e11a2c 100644
--- a/astroshop-terraform/modules/vpc/main.tf
+++ b/astroshop-terraform/modules/vpc/main.tf
@@ -4,7 +4,8 @@ resource "aws_vpc" "main" {
enable_dns_hostnames = true
tags = {
- Name = "${var.cluster_name}-vpc"
+ Name = "${var.cluster_name}-vpc"
+ "kubernetes.io/cluster/${var.cluster_name}" = "shared"
}
}