Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeshan/sceptre-aws-resolver
Resolves any AWS value in your sceptre deployments
https://github.com/jeshan/sceptre-aws-resolver
cloudformation sceptre
Last synced: about 2 months ago
JSON representation
Resolves any AWS value in your sceptre deployments
- Host: GitHub
- URL: https://github.com/jeshan/sceptre-aws-resolver
- Owner: jeshan
- License: bsd-2-clause
- Created: 2019-04-16T08:59:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T18:43:28.000Z (over 4 years ago)
- Last Synced: 2024-11-08T02:10:46.468Z (about 2 months ago)
- Topics: cloudformation, sceptre
- Language: Python
- Size: 528 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sceptre-aws-resolver
[![PyPI version](https://badge.fury.io/py/sceptre-aws-resolver.svg)](https://badge.fury.io/py/sceptre-aws-resolver)
![Build badge](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiNlZwTFptVGM4ZTB3NTY0SkZNb2xyMWVac2JLR3IwOVpJTWtLblVCR2NXNGJZbHREdUh4M0NGTWlKV3M3cHk1Q2pXbEJ6eFVYM3ZVN0JxUVZPRUtUN1AwPSIsIml2UGFyYW1ldGVyU3BlYyI6IjluZVpUK1c0MmVCbEFHZXgiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)[Sceptre](https://github.com/cloudreach/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](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html) 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](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](templates/deployment-pipeline.yaml). This is what a visualisation of it looks like:![](/diagram.png)
*Image automatically generated with [cfnbuddy](https://www.cfnbuddy.com)*