Skip to main content

aws

EC2, IAM and S3 core AWS Services.

tip

All AWS Services (incl Lambda, DynamoDB, RDS, etc) are supported by the awscc (AWS Cloud Control API) provider in StackQL.

Provider Summary (v24.03.00220)
total services: 4
total methods: 780
total resources: 346
total selectable resources: 250

See also:
[SHOW] [DESCRIBE] [REGISTRY]


Installation

To pull the latest version of the aws provider, run the following command:

REGISTRY PULL aws;

To view previous provider versions or to pull a specific provider version, see here.

Authentication

The following system environment variables are used for authentication by default:

These variables are sourced at runtime (from the local machine or as CI variables/secrets).

Using different environment variables

To use different environment variables (instead of the defaults), use the --auth flag of the stackql program. For example:


AUTH='{ "aws": { "type": "aws_signing_v4", "keyIDenvvar": "YOUR_ACCESS_KEY_ID_VAR", "credentialsenvvar": "YOUR_SECRET_KEY_VAR" }}'
stackql shell --auth="${AUTH}"

or using PowerShell:


$Auth = "{ 'aws': { 'type': 'aws_signing_v4', 'keyIDenvvar': 'YOUR_ACCESS_KEY_ID_VAR', 'credentialsenvvar': 'YOUR_SECRET_KEY_VAR' }}"
stackql.exe shell --auth=$Auth

Server Parameters

The following parameter is required for the aws provider:

  • region - AWS region (e.g. us-east-1)

This parameter must be supplied to the WHERE clause of each SELECT statement.

Services