Skip to content

Commit 82c09ab

Browse files
committed
chore: better describe permission boundary input
1 parent d04a199 commit 82c09ab

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

examples/existing-ditribution/fingerprint.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ module "fingerprint_cloudfront_integration" {
66
fpjs_shared_secret = var.fpjs_shared_secret
77

88
// You can define the proxy function's [permission boundary](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
9-
// fpjs_proxy_lambda_role_permissions_boundary_arn = "arn:aws:iam::aws:policy/AWSLambda_FullAccess"
9+
// See https://dev.fingerprint.com/docs/aws-cloudfront-integration-via-terraform#defining-a-permission-boundary-for-the-proxy-function
10+
// fpjs_proxy_lambda_role_permissions_boundary_arn = "arn:aws:iam::<YOUR_ACCOUNT_ID>:policy/YOUR_POLICY_NAME"
1011
}

examples/standalone-distribution/fingerprint.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ module "fingerprint_cloudfront_integration" {
66
fpjs_shared_secret = var.fpjs_shared_secret
77

88
// You can define the proxy function's [permission boundary](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
9-
// fpjs_proxy_lambda_role_permissions_boundary_arn = "arn:aws:iam::aws:policy/AWSLambda_FullAccess"
9+
// See https://dev.fingerprint.com/docs/aws-cloudfront-integration-via-terraform#defining-a-permission-boundary-for-the-proxy-function
10+
// fpjs_proxy_lambda_role_permissions_boundary_arn = "arn:aws:iam::<YOUR_ACCOUNT_ID>:policy/YOUR_POLICY_NAME"
1011
}

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "fpjs_get_result_path" {
1010

1111
variable "fpjs_agent_download_path" {
1212
type = string
13-
description = "request path used to send ProCDN requests (aka FPJS_AGENT_DOWNLOAD_PATH)"
13+
description = "request path used to send agent download requests (aka FPJS_AGENT_DOWNLOAD_PATH)"
1414

1515
validation {
1616
condition = can(regex("^([a-zA-Z0-9\\-])+$", var.fpjs_agent_download_path))
@@ -31,6 +31,6 @@ variable "fpjs_shared_secret" {
3131

3232
variable "fpjs_proxy_lambda_role_permissions_boundary_arn" {
3333
type = string
34-
description = "permissions boundary ARN for the role assumed by the Proxy lambda"
34+
description = "Permissions boundary ARN for the role assumed by the Proxy lambda. Make sure your permissions boundary allows the function to access the Secret manager secret created for the integration (`secretsmanager:GetSecretValue`) and create logs (`logs:CreateLogStream`, `logs:CreateLogGroup`, `logs:PutLogEvents`)."
3535
default = null
3636
}

0 commit comments

Comments
 (0)