Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
security_group_rule resource cidr_blocks argument must be a list (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
trobinsonpp authored Aug 25, 2020
1 parent 1f5156a commit b998559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ resource "aws_security_group_rule" "ingress_share_keys_web_server_cidrs" {
from_port = 443
to_port = 443
protocol = "TCP"
cidr_blocks = var.share_keys_allowed_cidrs[count.index]
cidr_blocks = [var.share_keys_allowed_cidrs[count.index]]
security_group_id = aws_security_group.bastion_host_security_group.id
}

Expand Down

0 comments on commit b998559

Please sign in to comment.