Code Monkey home page Code Monkey logo

aws-concurrent-provisioned-product's Introduction

repository moved, maintained elsewhere -> https://github.com/curlim/aws-concurrent-provisioned-product

Concurrent AWS ServiceCatalog Provisioned Product Resource Provider

This repository implements an AWS CloudFormation Resource Provider, which concurrently provisions an AWS Service Catalog Product. Optionally this can be done cross-account by providing a role ARN to be assumed.

ProServe::ServiceCatalog::ConcurrentProvisionedProduct

See example usage of the resource below. Detailed documentation can be found in the /docs folder.

This resource fronts the provisioning of an AWS Service Catalog product using CloudFormation with a Client Lock. Whenever a provisioned product is already under change on the same product, the resource provider takes care of retrying with proper backoff configurations.

Hence, this resource can be used in multiple use cases. One of the most prominent use cases is extending the AWS Control Tower Account Factory with a custom AWS Service Catalog Product. Details, see in the use case specific README

Quickstart

You can use the following link to deploy the CloudFormation resource provider directly into your AWS account. Ensure you are logged into the AWS Console before following it.

Quickstart CloudFormation Link

Usage

  TestScProductA:
    Type: ProServe::ServiceCatalog::ConcurrentProvisionedProduct
    Properties:
     RoleArn: arn:aws:iam::123456789012:role/ScTestRole
     ProvisionedProductName: CfnTestA
     ProductName: test
     ProvisioningArtifactName: v1.0.1
     OutputKey: CloudformationStackARN
     ProvisioningParameters:
     - Key: Test
       Value: Hallo

Architecture

architecture-diagram

Future Work

  • Introduce type configurations to allow usage of custom named DynamoDB tables.

Hints

  • While code samples in this repository has been tested and believe it works well, as always, be sure to test it in your environment before using it in production!
  • Double check the AWS IAM role permissions. In order to follow the least privilege strategy adapt the permissions as required. To use AWS Service Catalog out of the box, the default permissions are widely open.

The RPDK will automatically generate the correct resource model from the schema whenever the project is built via Maven. You can also do this manually with the following command: cfn generate.

Please don't modify files under target/generated-sources/rpdk, as they will be automatically overwritten.

The code uses Lombok, and you may have to install IDE integrations to enable auto-complete for Lombok-annotated classes.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

aws-concurrent-provisioned-product's People

Contributors

amazon-auto avatar f7o avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

curlim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.