> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run AWS CLI Script

> Execute an Amazon Web Services (AWS) CLI script.

Installed CLI versions: `2.23.11` and `2.32.34`.

<Note>
  If an error occurs in a command mid-script but the final command succeeds, the action will report success, potentially masking failed commands.
</Note>

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Command           | A single AWS command or a batch of AWS commands executed as a script.<br />To route the request to a different region, use the `Region` parameter or the `--region` flag.                                                                                                                                                                                                                                                                                      |
| Region            | The region for the AWS command.<br />If no region is specified, and the requested service supports regions, AWS routes the request to the `us-east-1` region by default.                                                                                                                                                                                                                                                                                       |
| Version           | The AWS CLI version to use for executing the commands.                                                                                                                                                                                                                                                                                                                                                                                                         |
| Working Directory | When a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity. For more information, refer to the [Create Working Directory](/docs/workflows/building-workflows/actions/utility-actions/file_system-utilities#create-working-directory) action documentation for guidance on setting up and selecting working directories. |
