File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Test Suite
33on :
44 pull_request :
55 branches : [ main, master ]
6- push :
7- branches : [ main, master ]
86
97jobs :
108 test-api :
Original file line number Diff line number Diff line change @@ -71,13 +71,24 @@ Example: `20250109143022-a7b3c5d`
7171 - ` tonys-chips-subnet-db-1a ` - 10.0.21.0/24 (us-west-1a)
7272 - ` tonys-chips-subnet-db-1b ` - 10.0.22.0/24 (us-west-1c)
7373
74- 5 . ✅ ` tonys-chips-rtb-private ` (AWS::EC2::RouteTable)
74+ 5 . ✅ Route Tables:
75+ - ` tonys-chips-rtb-private ` (AWS::EC2::RouteTable) - For API and database subnets
76+ - ` tonys-chips-rtb-public ` (AWS::EC2::RouteTable) - For web subnets with IGW route
7577
76- 6 . ✅ Route Table Associations (6 total):
77- - All subnets associated with private route table
78+ 6 . ✅ Route Table Associations:
79+ - Web subnets (web-1a, web-1b) associated with public route table
80+ - API subnets (api-1a, api-1b) associated with private route table
81+ - Database subnets (db-1a, db-1b) associated with private route table
82+
83+ 7 . ✅ ` tonys-chips-route-public-igw ` (AWS::EC2::Route)
84+ - Destination: 0.0.0.0/0
85+ - Target: Internet Gateway
86+ - Allows public ALB to receive internet traffic
7887
7988** Status:** Applied to HEAD. All resources created successfully.
8089
90+ ** Note:** Web subnets are public (MapPublicIpOnLaunch: true, route to IGW) to support the internet-facing ALB. API and database subnets remain private with no internet access (use VPC endpoints).
91+
8192### Phase 2: Security Infrastructure ✅ COMPLETED
8293** Change Set:** ` tonys-chips-security ` (ID: 01K75SVYVVKKRPQFWXVZ6BME12)
8394
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { CartContext } from './CartContextType';
88const generateSessionId = ( ) : string => {
99 let sessionId = localStorage . getItem ( 'sessionId' ) ;
1010 if ( ! sessionId ) {
11- sessionId = crypto . randomUUID ( ) ;
11+ sessionId = window . crypto . randomUUID ( ) ;
1212 localStorage . setItem ( 'sessionId' , sessionId ) ;
1313 }
1414 return sessionId ;
You can’t perform that action at this time.
0 commit comments