diff --git a/demo-5/securitygroup.tf b/demo-5/securitygroup.tf index 4de36a9..e215278 100644 --- a/demo-5/securitygroup.tf +++ b/demo-5/securitygroup.tf @@ -10,7 +10,7 @@ resource "aws_security_group" "from_europe" { from_port = "443" to_port = "443" protocol = "tcp" - cidr_blocks = data.aws_ip_ranges.european_ec2.cidr_blocks + cidr_blocks = slice(data.aws_ip_ranges.european_ec2.cidr_blocks, 0, 50) } tags = { CreateDate = data.aws_ip_ranges.european_ec2.create_date