This task is additionial task that is executed before ECS Render Task Definition Action that only injects Parameter Store Secrets into task-definition.json
file and does nothing more.
Features:
- ability to read parameter store secrets from multiple paths for given region,
- explicit list of environment variable names to be used by the task definition.
Single source of parameters:
- name: Render secrets from parameter store
id: render-secrets
uses: Selleo/[email protected]
with:
region: eu-central-1
task-definition: task-definition.json
envs: |
AWS_ACCESS_KEY_ID
AWS_REGION
paths: /ecs/app/production/
Options:
region
- AWS Region to fetch Parameter Store Secretstask-definition
- Your input fileenvs
- List of environment variables included in the path that you want to render in task defintionpaths
- List of sources to fetch Parameter Store Secrets from
Outputs:
task-definition
- Output file path available for next steps (${{ steps.render-secrets.outputs.task-definition }}
)
Example usage with multiple paths:
- name: Render secrets from parameter store
id: render-secrets
uses: Selleo/[email protected]
with:
region: eu-central-1
task-definition: task-definition.json
envs: |
AWS_ACCESS_KEY_ID
AWS_REGION
paths: |
/ecs/app/production/
/ecs/app-config/production/
See LICENSE
file.
Software development teams with an entrepreneurial sense of ownership at their core delivering great digital products and building culture people want to belong to. We are a community of engaged co-workers passionate about crafting impactful web solutions which transform the way our clients do business.
All names and logos for Selleo are trademark of Selleo Labs Sp. z o.o. (formerly Selleo Sp. z o.o. Sp.k.)