repository moved, maintained elsewhere -> https://github.com/curlim/aws-cloudformation-stack
This AWS CloudFormation resource provider implements the creation/update/delete of a AWS CloudFormation stack cross-account
See example usage of the resource below. Detailed documentation can be found in the /docs folder.
Simple Example:
TestStack:
Type: ProServe::CloudFormation::Stack
Properties:
AccountId: 999999999999
AssumeRoleName: OrganizationAccountAccessRole
StackName: myTestStack
Template: |
Description: myTestStack
Parameters:
TestParam:
Type: String
Resources:
DummyParameter:
Type: AWS::SSM::Parameter
Properties:
Name: /test-stack/abc123
Value: !Ref TestParam
Type: String
Parameters:
- Key: TestParam
Value: abc123
Tags:
- Key: mycorp:CostCenter
Value: ABC123
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. After following the link, ensure you picked the desired Region on the top right within the AWS Console.
Quickstart CloudFormation Link
- 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!
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.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.