{"id":21459312,"url":"https://github.com/shazi7804/aws-codedeploy","last_synced_at":"2026-05-14T20:32:38.265Z","repository":{"id":112104384,"uuid":"87176920","full_name":"shazi7804/aws-codedeploy","owner":"shazi7804","description":"This example provides all the permissions to build Codedeploy on AWS","archived":false,"fork":false,"pushed_at":"2017-04-04T11:07:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T03:24:54.306Z","etag":null,"topics":["aws","codedeploy","devops","ec2"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/shazi7804.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,"zenodo":null}},"created_at":"2017-04-04T11:05:04.000Z","updated_at":"2017-05-18T05:34:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ec2edb6-8f49-4639-a947-5dec76a2aebf","html_url":"https://github.com/shazi7804/aws-codedeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shazi7804/aws-codedeploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazi7804%2Faws-codedeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazi7804%2Faws-codedeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazi7804%2Faws-codedeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazi7804%2Faws-codedeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shazi7804","download_url":"https://codeload.github.com/shazi7804/aws-codedeploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazi7804%2Faws-codedeploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33042162,"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":["aws","codedeploy","devops","ec2"],"created_at":"2024-11-23T06:28:24.972Z","updated_at":"2026-05-14T20:32:38.259Z","avatar_url":"https://github.com/shazi7804.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeDeploy generate permissions on AWS\nThis example provides all the permissions to build Codedeploy on AWS\n\n## Note\nIn this example you will create the following permissions：\n\n- A S3 bucket\n\n- A IAM USER for Travis CI\n\n    - attach policy: AWSCodeDeployDeployerAccess\n\n    - user policy\n    ```json\n    {\n        \"Version\": \"2012-10-17\",\n        \"Statement\": [\n            {\n                \"Sid\": \"Stmt1487528506000\",\n                \"Effect\": \"Allow\",\n                \"Action\": [\n                    \"s3:*\"\n                ],\n                \"Resource\": [\n                    \"arn:aws:s3:::codedeploy-*\"\n                ]\n            }\n        ]\n    }\n    ```\n\n- A IAM Role for EC2 (default: Role-EC2-CodeDeploy)\n\n    - trust role \n\n        ```json\n        {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n                {\n                \"Effect\": \"Allow\",\n                \"Principal\": {\n                    \"Service\": \"ec2.amazonaws.com\"\n                },\n                \"Action\": \"sts:AssumeRole\"\n                }\n            ]\n        }\n        ```\n\n    - role policy\n\n        ```json\n        {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n                {\n                    \"Sid\": \"Stmt1487527978000\",\n                    \"Effect\": \"Allow\",\n                    \"Action\": [\n                        \"s3:GetObject\",\n                        \"s3:GetObjectVersion\",\n                        \"s3:ListBucket\"\n                    ],\n                    \"Resource\": [\n                        \"arn:aws:s3:::codedeploy-*\"\n                    ]\n                }\n            ]\n        }\n        ```\n- A IAM Role for CodeDeploy service (default: Role-CodeDeploy)\n\n    - attach policy: AWSCodeDeployRole\n\n- CodeDeploy application (default: $projectname)\n\n    - Deployment config: CodeDeployDefault.AllAtOnce (default)\n    - Deployment Group: dev, stage, prod\n\n## Auto Install\n\n    $ chmod +x install\n    $ ./install\n\n## Config\n\n### Customize\n\n- ProjectName = Set your project name.\n\n### Global\n- Region = AWS region\n\n### S3\n- BucketName = Set you S3 bucket name\n\n### IAM group\n\n- IAMGROUP = Set IAM group name\n\n## Other \nYou can without auto install.\n\n### Create S3 bucket.\n\n    $ ./s3bucket\n\n### Create IAM user(TravisCI) to provide Travis CI deploy.\n\n    $ ./iamuser-travis\n\n### Create IAM Role to provide EC2 access S3, CodeDeploy.\n\n    $ ./iamrole-ec2\n\n### Create IAM Role to provide CodeDeploy service.\n\n    $ ./iamrole-codedeploy\n\n### Create CodeDeploy application, deployment_group\n\n    $ ./codedeploy    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazi7804%2Faws-codedeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshazi7804%2Faws-codedeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazi7804%2Faws-codedeploy/lists"}