Wargh / sceptre-aws-resolver

Resolves any AWS value in your sceptre deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sceptre-aws-resolver

PyPI version Build badge

Sceptre resolver for any AWS API. Get started by running pip install sceptre-aws-resolver

Format:

!aws client::operation::optional_parameters::optional_jmespath_filter.

Examples:

  • Return call to STS GetCallerIdentity in string format: !aws sts::get_caller_identity
  • Get current UserId: !aws sts::get_caller_identity::::UserId
  • Read a systems manager parameter in us-east-1 and return its value: !aws ssm::get_parameter::'Name':'your-param-name'::Parameter.Value::us-east-1
  • Read a systems manager parameter and return its decrypted value if necessary: !aws ssm::get_parameter::'Name':'your-secret-param','WithDecryption':True::Parameter.Value

See the jmespath package for query examples:

https://pypi.org/project/jmespath/

Released under the simplified BSD licence. See LICENCE.txt for details.

Thanks to the https://github.com/zaro0508/sceptre-date-resolver project for providing the boilerplate.

Deployment

This project's pipeline is defined as CloudFormation template in templates/deployment-pipeline.yaml. This is what a visualisation of it looks like:

Image automatically generated with cfnbuddy

About

Resolves any AWS value in your sceptre deployments

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 85.1%Language:Shell 14.9%