Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Group CloudFormation resources by AWS service name #234

Merged
merged 4 commits into from
Oct 27, 2019

Commits on Oct 26, 2019

  1. fix(schema): Move resources to separate packages

    BREAKING CHANGE: this change moves all Cloudformation resources to
    packages based on the AWS service name. The main motivation for this is
    that building goformation on some platforms (Windows) failed due to too
    many files in the old cloudformation/resources package. This new package
    style has a nice benefit of slightly nicer to use API, but is a breaking
    change and will require refactoring existing codebases to update to v3.
    
    Old usage:
    
    ```go
    import "github.com/awslabs/goformation/v2/cloudformation/resources"
    
    ... snip ...
    
    topic := &resources.AWSSNSTopic{}
    ```
    
    New usage:
    
    ```go
    import "github.com/awslabs/goformation/v3/cloudformation/sns"
    
    ...snip...
    
    topic := &sns.Topic{}
    ```
    
    Most tests are still failing at this point and need refactoring.
    Paul Maddox committed Oct 26, 2019
    Configuration menu
    Copy the full SHA
    74fc6af View commit details
    Browse the repository at this point in the history
  2. fix(schema): Tag handling

    Fixed tag handling for new grouped resources style (via new tags.Tag
    struct).
    Paul Maddox committed Oct 26, 2019
    Configuration menu
    Copy the full SHA
    e36e747 View commit details
    Browse the repository at this point in the history
  3. fix(schema): SAM specification

    SAM Specification now generates nicely with new grouped resources
    format. Also all tests are now passing \o/
    Paul Maddox committed Oct 26, 2019
    Configuration menu
    Copy the full SHA
    3a1e6b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe41ad2 View commit details
    Browse the repository at this point in the history