AWS fis: Added Lambda env var recommendation for preventExecution
Summary
Added guidance to set AWS_FIS_POLL_MAX_WAIT_MILLISECONDS when using preventExecution in Lambda fault injection actions.
Security assessment
The change adds a reliability recommendation to avoid stale configuration during fault injection experiments but lacks evidence of addressing a specific security vulnerability.
Evidence
+ * **preventExecution** – If the value is true, the action will return the error without executing the function. We recommend setting the `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` environment variable to a non-zero value (for example, `2000`) to ensure the extension has up-to-date fault configuration before evaluating the invocation. For more information, see [AWS FIS Lambda environment variables](./use-lambda-actions.html#fis-extension-environment-variables).
Diff
diff --git a/fis/latest/userguide/fis-actions-reference.md b/fis/latest/userguide/fis-actions-reference.md index 9258cf4a6..57beb0e0b 100644 --- a//fis/latest/userguide/fis-actions-reference.md +++ b//fis/latest/userguide/fis-actions-reference.md @@ -192 +192 @@ When you run the `aws:arc:start-zonal-autoshift` action, AWS FIS manages the zon -Zonal shift managed resources are resource types including Amazon EKS clusters, Amazon EC2 Application and Network Load Balancers, and Amazon EC2 Auto Scaling groups that can be enabled for ARC zonal autoshift. For more information, see [supported resources](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.resource-types.html) and [enabling zonal autoshift resources](https://docs.aws.amazon.com//r53recovery/latest/dg/arc-zonal-autoshift.start-cancel.html) in the _ARC Developer Guide_. +Zonal shift managed resources are resource types including Amazon EKS clusters, Amazon EC2 Application and Network Load Balancers, and Amazon EC2 Auto Scaling groups that can be enabled for ARC zonal autoshift. For more information, see [supported resources](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.resource-types.html) and [enabling zonal autoshift resources](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.start-cancel.html) in the _ARC Developer Guide_. @@ -1825 +1825 @@ Marks Lambda function invocations as failed. This action is useful for testing e - * **preventExecution** – If the value is true, the action will return the error without executing the function. + * **preventExecution** – If the value is true, the action will return the error without executing the function. We recommend setting the `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` environment variable to a non-zero value (for example, `2000`) to ensure the extension has up-to-date fault configuration before evaluating the invocation. For more information, see [AWS FIS Lambda environment variables](./use-lambda-actions.html#fis-extension-environment-variables). @@ -1862 +1862 @@ Modifies the behavior of the function. You select a content type and HTTP respon - * **preventExecution** – If the value is true, the action will return the response without executing the function. + * **preventExecution** – If the value is true, the action will return the response without executing the function. We recommend setting the `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` environment variable to a non-zero value (for example, `2000`) to ensure the extension has up-to-date fault configuration before evaluating the invocation. For more information, see [AWS FIS Lambda environment variables](./use-lambda-actions.html#fis-extension-environment-variables).