Config.SSM (secret_config v1.0.0)

Provides functionality to load configuration settings from AWS SSM Parameter Store based on the provided environment.

Link to this section Summary

Functions

Loads configuration from the AWS SSM Parameter Store for the specified environment.

Link to this section Functions

Link to this function

load_ssm_config(env)

Specs

load_ssm_config(String.t()) :: {:ssm, String.t(), map()}

Loads configuration from the AWS SSM Parameter Store for the specified environment.

Utilizes utility functions to fetch parameters, apply imports, and interpolate environment variables within the parameters.

Parameters

  • env: The environment name as a string which scopes the SSM parameter lookup.

Returns

  • A tuple with :ssm, the environment name, and the configuration map.