WesleyCharlesBlake / terraform-aws-eks

Deploy a full EKS cluster with Terraform
MIT License
194 stars 179 forks source link

Need to resolve this issue in this code #54

Open rhdmchirag opened 2 years ago

rhdmchirag commented 2 years ago

when I plan this project I faced this error can you please resolve this and guide me?

terraform plan

Error: Invalid function argument │ │ on .terraform/modules/vpc/outputs.tf line 353, in output "vpc_endpoint_sqs_id": │ 353: value = "${element(concat(aws_vpc_endpoint.sqs.*.id, tolist("")), 0)}" │ │ Invalid value for "v" parameter: cannot convert string to list of any single type.

demola-gigxpad commented 1 year ago

i also faced this issue running terraform plan

Error: Conflicting configuration arguments │ │ with module.gigxpad-node-sg.aws_security_group_rule.ingress_with_self[0], │ on .terraform/modules/gigxpad-node-sg/main.tf line 369, in resource "aws_security_group_rule" "ingress_with_self": │ 369: self = lookup(var.ingress_with_self[count.index], "self", true) │ │ "self": conflicts with ipv6_cidr_blocks ╵ ╷ │ Error: Conflicting configuration arguments │ │ with module.gigxpad-node-sg.aws_security_group_rule.ingress_with_self[0], │ on .terraform/modules/gigxpad-node-sg/main.tf line 370, in resource "aws_security_group_rule" "ingress_with_self": │ 370: ipv6_cidr_blocks = var.ingress_ipv6_cidr_blocks │ │ "ipv6_cidr_blocks": conflicts with self