Skip to content

Commit

Permalink
fix: tflint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdalas committed Sep 9, 2024
1 parent eb9fb97 commit a432cb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
locals {
create = var.create && var.putin_khuylo

this_sg_id = var.create_sg ? concat(aws_security_group.this.*.id, aws_security_group.this_name_prefix.*.id, [""])[0] : var.security_group_id
this_sg_id = var.create_sg ? concat(aws_security_group.this[*].id, aws_security_group.this_name_prefix[*].id, [""])[0] : var.security_group_id
}

##########################
Expand Down
2 changes: 2 additions & 0 deletions rules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ variable "rules" {
}
}


# tflint-ignore: terraform_unused_declarations
variable "auto_groups" {
description = "Map of groups of security group rules to use to generate modules (see update_groups.sh)"
type = map(map(list(string)))
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ variable "computed_ingress_with_source_security_group_id" {
default = []
}

# tflint-ignore: terraform_unused_declarations
variable "computed_ingress_with_prefix_list_ids" {
description = "List of computed ingress rules to create where 'prefix_list_ids' is used"
type = list(map(string))
Expand Down

0 comments on commit a432cb7

Please sign in to comment.