Skip to content

Commit dfeaf6c

Browse files
author
Varun Rao Bhamidimarri
committed
Remove 0.0.0.0/0 and use the VPC's default CIDR for the security group
1 parent 8462602 commit dfeaf6c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

aws_emr_blog_v3/cloudformation/rds-database.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Parameters:
1717
Type: String
1818
MinLength: '9'
1919
MaxLength: '18'
20-
Default: 0.0.0.0/0
20+
Default: 10.0.0.0/16
2121
AllowedPattern: (\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/(\d{1,2})
2222
ConstraintDescription: It must be a valid IP CIDR range of the form x.x.x.x/x.
2323
Suggest to enable access to your IP address only. Pls get your address using

aws_emr_blog_v3/cloudformation/step2_ranger-rds-emr.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ Resources:
363363
- !Ref 'PrivateSubnet2AID'
364364
- !Ref AWS::NoValue
365365
VPC: !Ref VPC
366+
ClientIP: !Ref CIDRAccessToPrivateSubnetResources
366367
MySQLDBPassword: !Ref DBRootPassword
367368
MySQLDBUserName: !Ref DBUserName
368369
CopyS3Artifacts:

0 commit comments

Comments
 (0)