File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,6 @@ linters-settings:
24
24
line-length : 140
25
25
goimports :
26
26
local-prefixes : github.com/golangci/golangci-lint
27
- gocritic :
28
- enabled-tags :
29
- - diagnostic
30
- - experimental
31
- - opinionated
32
- - performance
33
- - style
34
- disabled-checks :
35
- - dupImport # https://github.com/go-critic/go-critic/issues/845
36
- - ifElseChain
37
- - octalLiteral
38
- - whyNoLint
39
- - wrapperFunc
40
27
funlen :
41
28
lines : 100
42
29
statements : 50
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "aws_lambda_function" "lambda_function" {
4
4
description = " Creates report of AWS Services in Organization accounts and saves to Excel spreadsheet in S3 bucket"
5
5
role = aws_iam_role. iam_role . arn
6
6
handler = " grace-inventory-lambda"
7
- source_code_hash = filesha256 (var. source_file )
7
+ source_code_hash = filebase64sha256 (var. source_file )
8
8
kms_key_arn = aws_kms_key. kms_key . arn
9
9
runtime = " go1.x"
10
10
timeout = 900
You can’t perform that action at this time.
0 commit comments