Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS CloudFormation Stack component #265

Closed
brianneisler opened this issue Sep 11, 2018 · 4 comments
Closed

AWS CloudFormation Stack component #265

brianneisler opened this issue Sep 11, 2018 · 4 comments
Labels
help wanted Extra attention is needed kind/feature New feature

Comments

@brianneisler
Copy link
Contributor

Description

To help users integrate existing cloudformation stacks into a components deployment, we should implement an aws-cloudformation-stack component.

Here is the AWS js sdk documentation for creating a a CloudFormation Stack https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudFormation.html#createStack-property

inputTypes

stackName: string /* required */
capabilities: Array [ CAPABILITY_IAM | CAPABILITY_NAMED_IAM ],
clientRequestToken: string
disableRollback: boolean
enableTerminationProtection: boolean
notificationARNs: Array<string>,
onFailure: enum(DO_NOTHING | ROLLBACK | DELETE)
parameters: Array<{ { ParameterKey: string, ParameterValue: string, ResolvedValue: string, UsePreviousValue: boolean } /* more items */ }>
resourceTypes: Array<string>
roleArn: string
rollbackConfiguration: { MonitoringTimeInMinutes: 0, RollbackTriggers: [ { Arn: 'STRING_VALUE', /* required */ Type: 'STRING_VALUE' /* required */ }, /* more items */ ] }
stackPolicyBody: string
stackPolicyUrl: string
tags: Array<{ Key: 'STRING_VALUE', /* required */ Value: 'STRING_VALUE' /* required */ }>, templateBody: string templateUrl: string timeoutInMinutes: integer`

outputTypes

stackId: string

@brianneisler brianneisler added kind/feature New feature help wanted Extra attention is needed labels Sep 11, 2018
@AaronHarris
Copy link

I already started working on this

@brianneisler
Copy link
Contributor Author

@AaronHarris awesome! thanks for taking this on. Being able to deploy a simple CloudFormation stack through components is a great integration point. One thing to consider as you work on this is how to allow outputs from the CloudFormation stack to be made accessible as outputs in the component. I don't think we need this feature immediately, but something to think about.

@medampudi
Copy link

any update on this component being integrated into the repository

@eahefnawy
Copy link
Member

the CloudFormation component is now available here:
https://github.com/serverless-components/aws-cloudformation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/feature New feature
Projects
None yet
Development

No branches or pull requests

4 participants