File tree Expand file tree Collapse file tree 2 files changed +10
-19
lines changed Expand file tree Collapse file tree 2 files changed +10
-19
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 0.6.0-rc.1] ( https://github.com/fingerprintjs/terraform-aws-fingerprint-cloudfront-proxy-integration/compare/v0.5.0...v0.6.0-rc.1 ) (2024-08-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * proxy lambda description, timeout and memory size config ([ aebb1c1] ( https://github.com/fingerprintjs/terraform-aws-fingerprint-cloudfront-proxy-integration/commit/aebb1c132ae44082b17effaf4f8d75cfc271a559 ) )
7
+
1
8
## [ 0.5.0] ( https://github.com/fingerprintjs/terraform-aws-fingerprint-cloudfront-proxy-integration/compare/v0.4.0...v0.5.0 ) (2024-08-12)
2
9
3
10
Original file line number Diff line number Diff line change @@ -68,25 +68,6 @@ data "aws_iam_policy_document" "assume_role" {
68
68
}
69
69
}
70
70
71
- resource "aws_iam_role_policy" "fpjs_proxy_lambda_execution_policy" {
72
- name = " LambdaExecutionPolicy"
73
- role = aws_iam_role. fpjs_proxy_lambda . id
74
-
75
- policy = jsonencode ({
76
- Version = " 2012-10-17"
77
- Statement = [
78
- {
79
- Action = [
80
- " logs:CreateLogGroup" ,
81
- " logs:CreateLogStream" ,
82
- " logs:PutLogEvents"
83
- ]
84
- Effect = " Allow"
85
- Resource = " arn:aws:logs:*:*:*"
86
- }]
87
- })
88
- }
89
-
90
71
resource "aws_iam_role_policy" "fpjs_proxy_lambda" {
91
72
name = " AWSSecretAccess"
92
73
role = aws_iam_role. fpjs_proxy_lambda . id
@@ -118,12 +99,15 @@ data "aws_s3_object" "fpjs_integration_s3_bucket" {
118
99
}
119
100
120
101
resource "aws_lambda_function" "fpjs_proxy_lambda" {
102
+ description = " Fingerprint Proxy Lambda@Edge function"
121
103
s3_bucket = data. aws_s3_object . fpjs_integration_s3_bucket . bucket
122
104
s3_key = data. aws_s3_object . fpjs_integration_s3_bucket . key
123
105
function_name = " fingerprint-pro-cloudfront-lambda-${ local . integration_id } "
124
106
role = aws_iam_role. fpjs_proxy_lambda . arn
125
107
handler = " fingerprintjs-pro-cloudfront-lambda-function.handler"
126
108
source_code_hash = data. aws_s3_object . fpjs_integration_s3_bucket . etag
109
+ memory_size = 128
110
+ timeout = 10
127
111
128
112
runtime = " nodejs20.x"
129
113
You can’t perform that action at this time.
0 commit comments