From 0a6bddd97a8ae164f6b27116c0c713cd8ee29998 Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Mon, 7 Sep 2020 10:10:05 +0200 Subject: [PATCH] slice for api limit --- demo-5/securitygroup.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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