Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.65 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.65 KB

unicorn-maker

Unicorn-maker is a complete example of a Cloudformation provider. This resource is built in multiple languages, to get you up and running creating Cloudformation custom resources.

Architecture

The CloudFormation Command Line Interface (CLI) is an open-source tool that enables you to develop and test AWS and third-party resources and register them for use in AWS CloudFormation. Begin by going to the documentation guide and setting up your build environment.

Examples

This example resource is built in the following languages:

  • Go

  • Python

  • Java (Comming soon)

Getting started

  • Once you have set up your development environment, obtain a CrudCrud API key. Don't worry; the free version provides more than enough requests to play with this example. Architecture

  • Pick one of the language examples for this repo.

  • Add the API key to the source file.

    • (Go) Architecture
    • (Python) Architecture
  • Submit the resource using the Cloudformation CLI

  • After the provider has been registered, deploy it using the sample Cloudformation cloudformation.json

Contract test

This example was create using Cloudformation's best practices. Therefore, it will pass all of the Cloudformation CLI's Contract test. To run the contrast test, follow the directions the documentation.