Received an error using the module in our terraform:
Error: One of ['cidr_blocks', 'ipv6_cidr_blocks', 'self', 'source_security_group_id', 'prefix_list_ids'] must be set to create an AWS Security Group Rule
Error on .terraform/modules/consul_servers/modules/consul-security-group-rules/main.tf line 70, in resource "aws_security_group_rule" "allow_https_api_inbound":
Error: resource "aws_security_group_rule" "allow_https_api_inbound" {
If the module is given only security groups and not cidr ranges, a security group rule is created without all the necessary attributes. Change applies the right boolean logic for this case.
Received an error using the module in our terraform:
Error: One of ['cidr_blocks', 'ipv6_cidr_blocks', 'self', 'source_security_group_id', 'prefix_list_ids'] must be set to create an AWS Security Group Rule Error on .terraform/modules/consul_servers/modules/consul-security-group-rules/main.tf line 70, in resource "aws_security_group_rule" "allow_https_api_inbound": Error: resource "aws_security_group_rule" "allow_https_api_inbound" {
If the module is given only security groups and not cidr ranges, a security group rule is created without all the necessary attributes. Change applies the right boolean logic for this case.