{"id":19168555,"url":"https://github.com/xanthous-tech/serverless-cdktf","last_synced_at":"2026-05-14T08:44:21.712Z","repository":{"id":105881327,"uuid":"283715784","full_name":"xanthous-tech/serverless-cdktf","owner":"xanthous-tech","description":"A Serverless plugin that deploys AWS Serverless stack via Terraform, using CDKTF.","archived":false,"fork":false,"pushed_at":"2020-10-02T04:52:50.000Z","size":962,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T23:28:45.568Z","etag":null,"topics":["cdktf","cloudformation","plugin","serverless","terraform"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xanthous-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-30T08:37:03.000Z","updated_at":"2021-10-29T10:17:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"64f7bd41-9002-4e68-a1fd-142198402b0b","html_url":"https://github.com/xanthous-tech/serverless-cdktf","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/xanthous-tech/serverless-cdktf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fserverless-cdktf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fserverless-cdktf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fserverless-cdktf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fserverless-cdktf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xanthous-tech","download_url":"https://codeload.github.com/xanthous-tech/serverless-cdktf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fserverless-cdktf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33017709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["cdktf","cloudformation","plugin","serverless","terraform"],"created_at":"2024-11-09T09:43:05.826Z","updated_at":"2026-05-14T08:44:21.697Z","avatar_url":"https://github.com/xanthous-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-cdktf\n\nA [serverless](https://serverless.com) plugin that deploys AWS serverless stack via Terraform, using [CDKTF](https://github.com/hashicorp/terraform-cdk).\n\n# Usage\n\n```shell\nyarn add serverless-cdktf --dev\n```\n\njust add the plugin into the `plugins` field in `serverless.yml` and it will do the rest.\n\n# variables\n\nthe plugin looks for the following configuration values in `serverless.yml`'s `custom` section:\n\n```yaml\ncustom:\n  # accountId is more or less global, and we would need that to override the `AWS:AccountId` variable in CloudFormation\n  accountId: \"\u003caws_account_id\u003e\"\n  # optional, this variable is only needed when you use a monorepo setup and the dependency is hoisted\n  binPath: ../node_modules/.bin\n  cdktf:\n    deploymentBucketName: \"\u003cdeployment_bucket_name\u003e\"\n    s3Backend:\n      region: \"\u003cs3_backend_region\u003e\"\n      profile: \"\u003cs3_backend_aws_profile\u003e\" # optional, this looks for credential profile under ~/.aws/credentials, by default it uses the same profile defined in the serverless stack\n      accessKey: \"\u003cs3_backend_aws_access_key\u003e\" # alternatively, provide the keys directly\n      secretKey: \"\u003cs3_backend_aws_secret_key\u003e\"\n      bucket: \"\u003cs3_backend_bucket_name\u003e\"\n      key: \"\u003cs3_backend_key\u003e\"\n    remoteState:\n      region: \"\u003cremote_state_region\u003e\" # optional\n      profile: \"\u003cremote_state_aws_profile\u003e\" # optional, this looks for credential profile under ~/.aws/credentials, by default it uses the same profile defined in the serverless stack\n      accessKey: \"\u003cremote_state_aws_access_key\u003e\" # alternatively, provide the keys directly\n      secretKey: \"\u003cremote_state_aws_secret_key\u003e\"\n      bucket: \"\u003cremote_state_bucket_name\u003e\"\n      key: \"\u003cremote_state_key\u003e\"\n```\n\n# Terraform and Provider Support\n\nCurrently we are developing using Terraform v0.12 and AWS Provider v2.70.0. Any other version combinations are likely to work, but it would require building this package yourself for now, since the CDK definitions are generated based on the versions you have at build time.\n\n# Resources Supported\n\n- [x] S3 Bucket\n- [X] S3 Bucket Policy\n- [X] Lambda Functions\n- [X] IAM Roles and Policy Documents\n- [X] API Gateway\n- [X] CloudFront Distribution\n\n# License\n\n[MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fserverless-cdktf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxanthous-tech%2Fserverless-cdktf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fserverless-cdktf/lists"}