Skip to content

Commit

Permalink
fixes issue with type name
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlalexander committed Aug 24, 2021
1 parent c54d1f4 commit d649056
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handler/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func TypeToSheet(items interface{}) (string, error) {
sheet = SheetTopics
case *ssm.ParameterMetadata:
sheet = SheetParameters
case *VpcPeers:
case *VpcPeer:
sheet = SheetVpcPeers
default:
log.Printf("Unknown sheet type: %T", val)
Expand Down
1 change: 1 addition & 0 deletions lambda.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#tfsec:ignore:aws-lambda-enable-tracing
resource "aws_lambda_function" "lambda_function" {
filename = var.source_file
function_name = local.app_name
Expand Down
2 changes: 1 addition & 1 deletion s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ locals {
useAccessLogging = length(var.access_logging_bucket) > 0 ? [1] : []
}

#tfsec:ignore:AWS002
resource "aws_s3_bucket" "bucket" {
bucket = local.app_name
acl = "private"
Expand All @@ -11,7 +12,6 @@ resource "aws_s3_bucket" "bucket" {
enabled = true
}

#tfsec:ignore:AWS002
dynamic "logging" {
for_each = local.useAccessLogging
content {
Expand Down

0 comments on commit d649056

Please sign in to comment.