cli

digitickets/cli/aws

Terraform Module HCL 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.

Install
module "cli" {
source = "digitickets/cli/aws"
version = "7.2.1"
}
⭐ Source on GitHub 📦 Registry page
README

![GitHub Workflow Status](https://github.com/digitickets/terraform-aws-cli/actions/workflows/build.yml) ![GitHub issues](https://github.com/digitickets/terraform-aws-cli/issues) 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

Inputs (10)
NameTypeDescriptionDefault
aws_cli_commandslist(string) The AWS CLI command, subcommands, and options. For options that can accept required
suppress_error_handlingboolSuppress errors, allowing the caller to access and handle the error appropriatelfalse
assume_role_arnstring The ARN of the role being assumed (optional). The optional ARN must match t""
profilestring The specific AWS profile to use (must be configured appropriately and is optio""
regionstring The specific AWS region to use. The region must start with two letters repr""
role_session_namestring The role session name that will be used when assuming a role (optional) The""
retriesobject({ max_attempts = op Configuration for retries when making AWS CLI calls. The `max_attempts` spe{}
aws_cli_querystring The `--query` value for the AWS CLI call. The value for `var.aws_cli_query`""
external_idstring External id for assuming the role (optional). The length of optional extern""
alternative_pathstringUse an alternative path for all files produced internally""
Outputs (3)
result — The output of the AWS CLI command, if it can be JSON decoded
result_raw — The raw, non JSON decoded output of the AWS CLI command
result_was_decoded — Can the output from the AWS CLI command can be JSON decoded
Details
FrameworkTerraform Module
LanguageHCL
Version7.2.1
Cloud AWS
★ Stars33
Forks13
Total downloads697.8k
Inputs10
Outputs3
Namespacedigitickets
Updated