terraform-aws-modules / terraform-aws-security-group

Terraform module to create AWS Security Group resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/security-group/aws
Other
562 stars 1.08k forks source link

No declaration found for multiple variables in modules/_templates/main.tf #303

Closed xyfleet closed 10 months ago

xyfleet commented 11 months ago

Description

Hello,

I am using the security group module in my project. I see multiple errors in my terraform state file which you can see below. I don't know why you remove these variables under modules/_templates/.

No declaration found for "var.auto_ingress_rules"

No declaration found for "var.auto_ingress_with_self"

No declaration found for "var.auto_computed_ingress_rules"

No declaration found for "var.auto_egress_rules"

Screenshot 2023-12-12 at 10 01 18 AM

Screenshot 2023-12-12 at 10 01 09 AM

Screenshot 2023-12-12 at 10 00 57 AM

Screenshot 2023-12-12 at 10 00 24 AM

I even clone your code directly and see the same errors.

Screenshot2023_12_12_102500

⚠️ Note

Versions

Reproduction Code [Required]

Clone your code repo locally and you can see the errors.

Expected behavior

No errors indicated

Actual behavior

See these red error warnings. Screenshot2023_12_12_102500

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] commented 10 months ago

This issue was automatically closed because of stale in 10 days

github-actions[bot] commented 9 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.