Skip to main content

No project description provided

Project description

AWS CloudFormation RPDK Go Plugin

The CloudFormation Provider Development Toolkit Go Plugin allows you to autogenerate Go code based on an input schema.

This plugin library helps to provide runtime bindings for the execution of your providers by CloudFormation.

Development

For changes to the plugin, a Python virtual environment is recommended. You also need to download cloudformation-cli and install it first:

python3 -m venv env
source env/bin/activate
pip3 install cloudformation-cli
pip3 install -e .

Linting and running unit tests is done via pre-commit, and so is performed automatically on commit. The continuous integration also runs these checks. Manual options are available so you don't have to commit):

# run all hooks on all files, mirrors what the CI runs
pre-commit run --all-files
# run unit tests only. can also be used for other hooks, e.g. black, flake8, pylint-local
pre-commit run pytest-local

Getting started

This plugin create a sample golang project and requires golang 1.8 or above and godeb. For more information on installing and setting up your Go environment, please visit the offial Golang site.

License

This library is licensed under the Apache 2.0 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudformation-cli-go-plugin-0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

cloudformation_cli_go_plugin-0.1-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page