JSPM

aws-organization-formation

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2809
  • Score
    100M100P100Q130523F
  • License MIT

Infrastructure as code solution for AWS Organizations

Package Exports

  • aws-organization-formation

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aws-organization-formation) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AWS OrganizationFormation

Aws Organization Formation is an extension to AWS CloudFormation that helps you manage resources across your AWS Organization.

AWS OrganizationFormation adds 2 distinct features to CloudFormation:

  1. The ability to maintain Organization resources (Accounts, Organizational Units, Service Control Policies) in a CloudFormation section called Organization.
  2. New resources types that help setting up cross account permissions for common patterns within a multi account AWS organization.

Installation

> npm i aws-oranization-formation

Getting started

If you already have an organization set up in AWS, follow this link.

If you would like to create a new organization, follow this link.

Examples

AWSTemplateFormatVersion: '2010-09-09-OC'

Organization:
  Root:
    Type: OC::ORG::MasterAccount
    Properties:
      AccountName: My Organization Root
      AccountId: '123123123123'

  ProductionAccount:
    Type: OC::ORG::Account
    Properties:
      RootEmail: production@myorg.com
      AccountName: Production Account

  DevelopmentAccount:
    Type: OC::ORG::Account
    Properties:
      RootEmail: development@myorg.com
      AccountName: Development Account

Resources:
  # Topic will be created in all accounts (ProductionAccount & DevelopmentAccount)

  Topic:
    Type: AWS::CloudFormation::Topic
    OrganizationBindings:
      Regions: eu-central-1
      Accounts: '*'
    Properties:
      TopicName: MyTopic

Reference