Open IrmantasMarozas opened 1 year ago
Has this been validated using one of the examples?
I tried running this change against one of the examples and I got
❯ terraform validate
╷
│ Error: Incorrect attribute value type
│
│ on ../../main.tf line 142, in resource "aws_security_group_rule" "redis_egress":
│ 142: cidr_blocks = var.egress_cidr_blocks[count.index]
│ ├────────────────
│ │ count.index is a number
│ │ var.egress_cidr_blocks is a list of string
│
│ Inappropriate value for attribute "cidr_blocks": list of string required.
Second, I'm not totally sure what the issue is here in the first place. What is this solution trying to solve?
Description
Fix count for redis_egress sg rule
I'm not sure why, but pre-commit hook for docs didn't work for me, so I commented it out.
Terraform docs...........................................................Failed