{"id":18248157,"url":"https://github.com/serverless-components/aws-cloudformation","last_synced_at":"2025-10-09T06:32:57.388Z","repository":{"id":97839254,"uuid":"201296960","full_name":"serverless-components/aws-cloudformation","owner":"serverless-components","description":"Easily Deploy AWS CloudFormation templates using Serverless Components.","archived":false,"fork":false,"pushed_at":"2021-02-23T11:52:36.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T15:40:04.378Z","etag":null,"topics":["aws","aws-lambda","cloudformation","serverless","serverless-components"],"latest_commit_sha":null,"homepage":"https://serverless.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serverless-components.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-08T16:29:23.000Z","updated_at":"2021-12-07T06:08:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e31f8fd-685d-44b2-978f-1b371295eccf","html_url":"https://github.com/serverless-components/aws-cloudformation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/serverless-components/aws-cloudformation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Faws-cloudformation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Faws-cloudformation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Faws-cloudformation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Faws-cloudformation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serverless-components","download_url":"https://codeload.github.com/serverless-components/aws-cloudformation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Faws-cloudformation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000835,"owners_count":26082950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda","cloudformation","serverless","serverless-components"],"created_at":"2024-11-05T09:36:04.513Z","updated_at":"2025-10-09T06:32:57.382Z","avatar_url":"https://github.com/serverless-components.png","language":"JavaScript","readme":"[![Serverless Components](https://s3.amazonaws.com/public.assets.serverless.com/images/readme_serverless_components.gif)](http://serverless.com)\n\n\u003cbr/\u003e\n\n**AWS CloudFormation Component** ⎯⎯⎯ Easily Deploy AWS Cloudformation templates using [Serverless Components](https://github.com/serverless/components), and pass their outputs to other Serverless Components.\n\n\u0026nbsp;\n\n1. [**Install**](#1-install)\n2. [**Initialize**](#2-initialize)\n3. [**Configure**](#3-configure)\n4. [**Deploy**](#4-deploy)\n5. [**Remove**](#5-remove)\n\n\u0026nbsp;\n\n### 1. Install\n\n```\nnpm install -g serverless\n```\n\nAfter installation, make sure you connect your AWS account by setting a provider in the org setting page on the [Serverless Dashboard](https://app.serverless.com).\n\n### 2. Initialize\n\nThe easiest way to get started with by initializing the `aws-cloudformation-starter` template. You can do that by running the following command:\n\n```\nserverless init aws-cloudformation-starter\ncd aws-cloudformation-starter\n```\n\n### 3. Configure\n\nYou can configure your component \u0026 CloudFormation stack by editing the `serverless.yml` file in the root of the initialized template:\n\n```yml\nname: aws-cloudformation-starter\ncomponent: aws-cloudformation\n\ninputs:\n  name: my-stack\n  template:\n    AWSTemplateFormatVersion: '2010-09-09'\n    Description: Example stack 1\n    Resources:\n      LogGroup:\n        Type: AWS::Logs::LogGroup\n        Properties:\n          LogGroupName: /log/group/one\n          RetentionInDays: 14\n    Outputs:\n      LogGroupArn:\n        Value:\n          Fn::GetAtt:\n            - LogGroup\n            - Arn\n```\n\nInputs can contain the following properties:\n\n- `name` **[required]**. the name of the stack\n- `template` **[required]**, the template to deploy.\n- `capabilities`, possible values are `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, and `CAPABILITY_AUTO_EXPAND`.\n- `enableTerminationProtection`, possible values are `true` and `false`. Default is `false`.\n- `role`, role arn for the role which CloudFormation assumes to create the stack.\n\nSee [Request Parameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html#API_CreateStack_RequestParameters) for more info about capabilities, enableTerminationProtection, and role.\n\n### 4. Deploy\n\nYou can deploy your stack with the following command:\n\n```\nserverless deploy\n```\n\nOnce that is done, you'll see your stack outputs in the CLI, which you could then reference in another component.\n\n### 5. Remove\n\nTo remove your entire stack, just run:\n\n```\nserverless remove\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless-components%2Faws-cloudformation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserverless-components%2Faws-cloudformation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless-components%2Faws-cloudformation/lists"}