Skip to main content

AWS CFN Custom resource Resolve parser

https://img.shields.io/pypi/v/aws_cfn_custom_resource_resolve_parser.svg Documentation Status

Small lib to parse and retrieve secret from AWS Secrets manager using the CFN resolve format string

Intent

Currently in AWS CloudFormation, using {{resolve}} does not work for custom resources. Pending the feature being released, when the use of private resource types is not possible for the use-case, this small lib aims to allow parsing secrets so that you can today write your CFN templates with resolve.

Requirements

Sadly, this means the lambda function using this library will still need IAM access directly, and cannot use the role used by CloudFormation on create/update currently.

Usage

from aws_cfn_custom_resource_resolve_parser import handle
secret_string = r"{{resolve:secretsmanager:mysecret:SecretString:password}}"
secret_value = handle(secret_string)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for aws_cfn_custom_resource_resolve_parser 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws_cfn_custom_resource_resolve_parser 0.3.2
File Size Uploaded
aws_cfn_custom_resource_resolve_parser-0.3.2.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws_cfn_custom_resource_resolve_parser 0.3.2
File Interpreter ABI Platform
aws_cfn_custom_resource_resolve_parser-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / aws_cfn_custom_resource_resolve_parser-0.3.2.tar.gz

Download URL aws_cfn_custom_resource_resolve_parser-0.3.2.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e8c2f5291a331e6999a91ad7e1d8ba5c7d3387c3f5c2524a30d511146d4c3d
BLAKE2b-256 checksum
How to use checksums
d17aab62e0b9452652408932bffdb37a9303289730f11292632a2ed7cfb33be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.6 Linux/6.6.8-100.fc38.x86_64

Release files / aws_cfn_custom_resource_resolve_parser-0.3.2-py3-none-any.whl

Download URL aws_cfn_custom_resource_resolve_parser-0.3.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d84bc2ae017817213d6c0d9af38753d1a627ea6880f5c13e2d4c26660f6a677b
BLAKE2b-256 checksum
How to use checksums
f2a03227948972f29a4d5873d7e454eeee4405f5663c7859baca1ea9cf7c4b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.6 Linux/6.6.8-100.fc38.x86_64

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page