Merge pull request #698 from cloudskiff/fix/lambdaCodeSize
Ignore source_code_size in aws_lambda_functionmain
commit
88acce0124
|
@ -16,7 +16,6 @@
|
|||
"role": "arn:aws:iam::047081014315:role/iam_for_lambda",
|
||||
"runtime": "nodejs12.x",
|
||||
"source_code_hash": "PoaAEeOCmEFZojnrhEJvNzs+jg7/w1lL9GiFYvlM6aw=",
|
||||
"source_code_size": 352,
|
||||
"timeout": 3,
|
||||
"tracing_config": [
|
||||
{
|
||||
|
@ -43,7 +42,6 @@
|
|||
"role": "arn:aws:iam::047081014315:role/iam_for_lambda",
|
||||
"runtime": "nodejs12.x",
|
||||
"source_code_hash": "PoaAEeOCmEFZojnrhEJvNzs+jg7/w1lL9GiFYvlM6aw=",
|
||||
"source_code_size": 352,
|
||||
"timeout": 3,
|
||||
"tracing_config": [
|
||||
{
|
||||
|
|
|
@ -18,5 +18,6 @@ func initAwsLambdaFunctionMetaData(resourceSchemaRepository resource.SchemaRepos
|
|||
val.DeleteIfDefault("package_type")
|
||||
val.DeleteIfDefault("signing_job_arn")
|
||||
val.DeleteIfDefault("signing_profile_version_arn")
|
||||
val.SafeDelete([]string{"source_code_size"})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue