slice for api limit

This commit is contained in:
Edward Viaene
2020-09-07 10:10:05 +02:00
parent b23589e5fc
commit 0a6bddd97a
+1 -1
View File
@@ -10,7 +10,7 @@ resource "aws_security_group" "from_europe" {
from_port = "443" from_port = "443"
to_port = "443" to_port = "443"
protocol = "tcp" 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 = { tags = {
CreateDate = data.aws_ip_ranges.european_ec2.create_date CreateDate = data.aws_ip_ranges.european_ec2.create_date