AWS

A plugin that integrates with AWS's APIs.

Features

  1. Fetches the high-level details of the AWS managed resources in one or more AWS accounts and adds them to Kronicle’s component catalog as components
  2. Fetches service dependencies from AWS X-Ray and loads them into Kronicle

Plugin configuration

The following environment variable are passed to the kronicle-serice container to configure the plugin

Example configuration

PLUGINS_AWS_ENABLED=true
# Staging
PLUGINS_AWS_PROFILES_0_ENVIRONMENT_ID=staging
PLUGINS_AWS_PROFILES_0_REGIONS_0=us-west-1
PLUGINS_AWS_PROFILES_0_ACCESS_KEY_ID=some-access-key-id
PLUGINS_AWS_PROFILES_0_SECRET_ACCESS_KEY=some-secret-access-key
# Production
PLUGINS_AWS_PROFILES_1_ENVIRONMENT_ID=production
PLUGINS_AWS_PROFILES_1_REGIONS_0=us-west-1
PLUGINS_AWS_PROFILES_1_REGIONS_1=us-west-2
PLUGINS_AWS_PROFILES_1_ACCESS_KEY_ID=some-access-key-id
PLUGINS_AWS_PROFILES_1_SECRET_ACCESS_KEY=some-secret-access-key

Mandatory environment variables

PLUGINS_AWS_ENABLED=true

Set to “true” to enable the plugin

PLUGINS_AWS_PROFILES_{index}_ENVIRONMENT_ID=production

Can be set to any value that represents one of your environments. Must be in kebab-case

PLUGINS_AWS_PROFILES_{index}_REGIONS_{index}=us-west-1

One or more AWS regions can be specified for a profile

Optional environment variables

PLUGINS_AWS_PROFILES_{index}_ACCESS_KEY_ID=some-aws-access-key-id
PLUGINS_AWS_PROFILES_{index}_SECRET_ACCESS_KEY=some-aws-secret-access-key

AWS credentials to use to call AWS APIs on behalf of an AWS account. Credentials are not needed if the kronicle-service container is deployed to an AWS container host like AWS ECS and you want to the same AWS account the container is running in