cli
digitickets/cli/aws
Run the AWS CLI, with the ability to run under an assumed role, to access resources and properties missing from the Terraform AWS Provider.
  terraform-aws-cli Table of contents - Additional requirements - Examples - 1. Get the desired capacity of an autoscaling group. - 2. Assuming a role. - 3. Adding your own profile. - 4. Adding your external ID. - 5. Updating retries parameters. - 6. Suppress error handling to allow you to handle errors in a more meaningful manner. - Warning - Terraform requirements, providers, resources, etc. - Requirements - Providers - Modules - Resources - Inputs - Outputs - Docker Run the AWS CLI, with the ability to run under an assumed role, to access resources and properties missing from the Terraform AWS Provider. Additional
| Name | Type | Description | Default |
|---|---|---|---|
| aws_cli_commands | list(string) | The AWS CLI command, subcommands, and options. For options that can accept | required |
| suppress_error_handling | bool | Suppress errors, allowing the caller to access and handle the error appropriatel | false |
| assume_role_arn | string | The ARN of the role being assumed (optional). The optional ARN must match t | "" |
| profile | string | The specific AWS profile to use (must be configured appropriately and is optio | "" |
| region | string | The specific AWS region to use. The region must start with two letters repr | "" |
| role_session_name | string | The role session name that will be used when assuming a role (optional) The | "" |
| retries | object({ max_attempts = op | Configuration for retries when making AWS CLI calls. The `max_attempts` spe | {} |
| aws_cli_query | string | The `--query` value for the AWS CLI call. The value for `var.aws_cli_query` | "" |
| external_id | string | External id for assuming the role (optional). The length of optional extern | "" |
| alternative_path | string | Use an alternative path for all files produced internally | "" |
result — The output of the AWS CLI command, if it can be JSON decodedresult_raw — The raw, non JSON decoded output of the AWS CLI commandresult_was_decoded — Can the output from the AWS CLI command can be JSON decoded