Skip to content

Commit

Permalink
Add a reference to enable_nist_features, also fixes TFLint no usage w…
Browse files Browse the repository at this point in the history
…arning
  • Loading branch information
dhoucgitter committed Jun 25, 2024
1 parent e96fca9 commit eb1bd00
Show file tree
Hide file tree
Showing 2 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 @@ -302,4 +302,4 @@ resource "aws_resourcegroups_group" "aws_rg" {
}
JSON
}
}
}
3 changes: 3 additions & 0 deletions modules/aws_vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ locals {
"/dev/sdy",
"/dev/sdz"
]

# A contrived reference to the enable_nist_features variable, also suppresses the TFLint declared but not used warning
enable_nist_features = var.tags["nist_enabled"] == "true" ? true : false
}

data "aws_ami" "ubuntu" {
Expand Down

0 comments on commit eb1bd00

Please sign in to comment.