Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion deploy/cfn-agentic-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ Parameters:
Default: "10.0.0.0/16"
AllowedPattern: '(\d{1,3}\.){3}\d{1,3}/\d{1,2}'

AllowedCIDR:
Type: String
Default: "10.0.0.0/8"
AllowedPattern: '(\d{1,3}\.){3}\d{1,3}/\d{1,2}'
Description: "CIDR allowed to reach the ALB. Override with your public IP/range; never use 0.0.0.0/0."

ContainerImageUri:
Type: String
Description: "ECR image URI (account.dkr.ecr.region.amazonaws.com/repo:tag)"
Expand Down Expand Up @@ -321,11 +327,16 @@ Resources:
GroupDescription: ALB - HTTPS from allowed sources only (NO 0.0.0.0/0)
VpcId: !Ref VPC
SecurityGroupIngress:
- IpProtocol: tcp
FromPort: 80
ToPort: 80
CidrIp: !Ref AllowedCIDR
Description: "HTTP from allowed CIDRs"
- IpProtocol: tcp
FromPort: 443
ToPort: 443
CidrIp: !Ref AllowedCIDR
Description: "HTTPS from allowed CIDRs"
Description: "HTTPS from allowed CIDRs (post-deploy ACM listener)"
SecurityGroupEgress:
- IpProtocol: "-1"
CidrIp: "0.0.0.0/0"
Expand Down