mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 03:01:53 +03:00
slice for api limit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user