Skip to content

Commit

Permalink
fix tfsec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed May 2, 2022
1 parent 9d3a2e3 commit c7ee092
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module "labels" {
#Module : LAUNCH TEMPLATE
#Description : Provides an EC2 launch template resource. Can be used to create instances or
# auto scaling groups.
#tfsec:ignore:aws-autoscaling-enforce-http-token-imds
resource "aws_launch_template" "on_demand" {
count = var.enabled && var.on_demand_enabled ? 1 : 0

Expand Down Expand Up @@ -68,10 +69,11 @@ resource "aws_launch_template" "on_demand" {
lifecycle {
create_before_destroy = true
}
} #tfsec:ignore:aws-autoscaling-enforce-http-token-imds
}
#Module : LAUNCH TEMPLATE
#Description : Provides an EC2 launch template resource. Can be used to create instances or
# auto scaling groups.
#tfsec:ignore:aws-autoscaling-enforce-http-token-imds
resource "aws_launch_template" "spot" {
count = var.enabled && var.spot_enabled ? 1 : 0

Expand Down Expand Up @@ -142,7 +144,7 @@ resource "aws_launch_template" "spot" {
)
lifecycle {
create_before_destroy = true
}#tfsec:ignore:aws-autoscaling-enforce-http-token-imds
}
}


Expand Down

0 comments on commit c7ee092

Please sign in to comment.