aws / codecatalyst-blueprints

Apache License 2.0
48 stars 18 forks source link

feat(launch): support environments from dynamic options #573

Closed michaellandi closed 3 weeks ago

michaellandi commented 3 weeks ago

Description

The launch blueprint now supports loading environment options from the cloned repository. Repository authors can now codify one or more environments/account connections/roles directly in their launch yaml. Here's an example:

  - key: Deployment
    value:
      name: prod_environment
      environmentType: PRODUCTION
    displayType: environment
    environmentOptions:
      accountConnections:
        - name: awsAccountConnection
          roles:
            - name: launchRole
              capabilities:
                - '*'

Testing

Private preview publish into CodeCatalyst Space.

Additional context

This PR also retains the ability to define environments in the launch link option.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.