{"id":16293957,"url":"https://github.com/sambaiz/aws-cdk-circleci-sample","last_synced_at":"2025-03-20T04:30:24.821Z","repository":{"id":41793478,"uuid":"187458283","full_name":"sambaiz/aws-cdk-circleci-sample","owner":"sambaiz","description":"cdk diff \u0026 deploy by CI","archived":false,"fork":false,"pushed_at":"2022-12-09T03:08:54.000Z","size":836,"stargazers_count":8,"open_issues_count":13,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T14:22:10.258Z","etag":null,"topics":["aws","aws-cdk","circleci","infrastructure-as-code"],"latest_commit_sha":null,"homepage":"https://www.sambaiz.net/article/223/","language":"TypeScript","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/sambaiz.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}},"created_at":"2019-05-19T09:39:38.000Z","updated_at":"2021-08-02T21:41:58.000Z","dependencies_parsed_at":"2023-01-25T10:30:58.141Z","dependency_job_id":null,"html_url":"https://github.com/sambaiz/aws-cdk-circleci-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambaiz%2Faws-cdk-circleci-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambaiz%2Faws-cdk-circleci-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambaiz%2Faws-cdk-circleci-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambaiz%2Faws-cdk-circleci-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambaiz","download_url":"https://codeload.github.com/sambaiz/aws-cdk-circleci-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244551763,"owners_count":20470911,"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","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-cdk","circleci","infrastructure-as-code"],"created_at":"2024-10-10T20:13:26.949Z","updated_at":"2025-03-20T04:30:24.439Z","avatar_url":"https://github.com/sambaiz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-cdk-circleci-sample\n\n## Features\n\n- When create a PR, post results of `cdk diff` on there.\n\n![Post results](./images/pr.png)\n\n- When the branch is merged, run `cdk deploy`.\n\n- Notify the result on Slack.\n\n![Notify on Slack](./images/slack.png)\n\n## Flow\n\n1. push codes on a branch\n2. create PR to the develop branch\n3. post env=stg diff by CI\n4. review and merge\n5. create PR from develop to master\n6. deploy with env=stg and post env=prd diff by CI\n7. review and merge\n8. deploy with env=prd by CI\n\n## Settings\n\n1. upload `cfn/iam-ci-user-stack.yaml` from AWS CloudFormation Console and get AccessKey/Secret from Outputs (Optional)\n2. Set AWS Permissions and following environment variables to CircleCI\n\n- ASSUME_ROLE_ARN\n- GITHUB_TOKEN\n- SLACK_WEBHOOK\n\n## Article\n\n[CDK/CircleCI/GitHubでAWSリソース管理リポジトリを作る - sambaiz-net](https://www.sambaiz.net/article/223/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambaiz%2Faws-cdk-circleci-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambaiz%2Faws-cdk-circleci-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambaiz%2Faws-cdk-circleci-sample/lists"}