{"id":19165326,"url":"https://github.com/skyscrapers/terraform-codedeploy","last_synced_at":"2026-02-25T19:02:07.828Z","repository":{"id":71000080,"uuid":"73162730","full_name":"skyscrapers/terraform-codedeploy","owner":"skyscrapers","description":"Terraform module to add codedeploy","archived":false,"fork":false,"pushed_at":"2021-03-11T08:45:51.000Z","size":51,"stargazers_count":29,"open_issues_count":1,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-07T12:44:54.470Z","etag":null,"topics":["aws","codedeploy","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/skyscrapers.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":"2016-11-08T07:58:21.000Z","updated_at":"2023-07-25T14:21:13.000Z","dependencies_parsed_at":"2023-08-28T17:16:01.172Z","dependency_job_id":null,"html_url":"https://github.com/skyscrapers/terraform-codedeploy","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/skyscrapers/terraform-codedeploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-codedeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-codedeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-codedeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-codedeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyscrapers","download_url":"https://codeload.github.com/skyscrapers/terraform-codedeploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-codedeploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29835385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T18:53:23.881Z","status":"ssl_error","status_checked_at":"2026-02-25T18:50:54.347Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","terraform","terraform-modules"],"created_at":"2024-11-09T09:27:27.282Z","updated_at":"2026-02-25T19:02:07.785Z","avatar_url":"https://github.com/skyscrapers.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform modules that are related to codedeploy\n\n# app\nCreate a codedeploy app\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| name | Name of your codedeploy application | `any` | n/a | yes |\n| project | The current project | `any` | n/a | yes |\n| s3_bucket_arn | ARN of the S3 bucket where to fetch the application revision packages | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| app_name | n/a |\n| deployer_policy_arn | n/a |\n| deployer_policy_id | n/a |\n| deployer_policy_name | n/a |\n\n## Example\n```\n  module \"codedeploy\" {\n    source  = \"github.com/skyscrapers/terraform-codedeploy//app\"\n    name    = \"application\"\n    project = \"example\"\n  }\n```\n\n# deployment-group\nCreate an deployment group for a codedeploy app\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| app_name | Name of the app | `any` | n/a | yes |\n| autoscaling_groups | Autoscaling groups you want to attach to the deployment group | `list(string)` | n/a | yes |\n| environment | Environment where your codedeploy deployment group is used for | `any` | n/a | yes |\n| service_role_arn | IAM role that is used by the deployment group | `any` | n/a | yes |\n| alb_target_group | Name of the ALB target group to use, define it when traffic need to be blocked from ALB during deployment | `string` | `null` | no |\n| blue_termination_behavior | The action to take on instances in the original environment after a successful deployment. Only relevant when `enable_bluegreen` is `true` | `string` | `\"KEEP_ALIVE\"` | no |\n| bluegreen_timeout_action | When to reroute traffic from an original environment to a replacement environment. Only relevant when `enable_bluegreen` is `true` | `string` | `\"CONTINUE_DEPLOYMENT\"` | no |\n| ec2_tag_filter | Filter key and value you want to use for tags filters. Defined as key/value format, example: `{\"Environment\":\"staging\"}` | `map(string)` | `null` | no |\n| enable_bluegreen | Enable all bluegreen deployment options | `bool` | `false` | no |\n| green_provisioning | The method used to add instances to a replacement environment. Only relevant when `enable_bluegreen` is `true` | `string` | `\"COPY_AUTO_SCALING_GROUP\"` | no |\n| rollback_enabled | Whether to enable auto rollback | `bool` | `false` | no |\n| rollback_events | The event types that trigger a rollback | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"DEPLOYMENT_FAILURE\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| trigger_events | events that can trigger the notifications | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"DeploymentStop\",\u003cbr\u003e  \"DeploymentRollback\",\u003cbr\u003e  \"DeploymentSuccess\",\u003cbr\u003e  \"DeploymentFailure\",\u003cbr\u003e  \"DeploymentStart\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| trigger_target_arn | The ARN of the SNS topic through which notifications are sent | `string` | `null` | no |\n\n## Outputs\n\nNo output.\n\n\n## Example\n```\n  module \"deployment_group\" {\n    source             = \"github.com/skyscrapers/terraform-codedeploy//deployment-group\"\n    environment        = \"production\"\n    app_name           = module.codedeploy.app_name\n    service_role_arn   = module.iam.arn_role\n    autoscaling_groups = [\"autoscaling1\", \"autoscaling2\"]\n  }\n```\n\n\n# S3 bucket\n\nCreate an S3 bucket to use with Codedeploy, to store application revisions.\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| name_prefix | Prefix for the bucket name. Note that the same bucket is used for all codedeploy deployment groups | `any` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| bucket_arn | n/a |\n| bucket_id | n/a |\n| policy_arn | n/a |\n| policy_id | n/a |\n| policy_name | n/a |\n\n## Example\n\n```\nmodule \"codedeploy_bucket\" {\n  source      = \"github.com/skyscrapers/terraform-codedeploy//s3bucket?ref=478373f6f8d4a46b7a1ec96090707365e0ae3e42\"\n  name_prefix = \"app\"\n}\n```\n\n# notify-slack\nCreates a lambda function that notifies Slack via the [incoming webhooks](https://skyscrapers.slack.com/apps/A0F7XDUAZ-incoming-webhooks) when a deployment event happens using an SNS topic to call the lambda function.\n\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| archive | n/a |\n| aws | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| kms_key_arn | KMS used for encrypting the webhook | `any` | n/a | yes |\n| slack_channel | E.g. #channel_name | `any` | n/a | yes |\n| slack_webhook_url | Needs to be encrypted from a file with _no_ encryption context, using: aws kms encrypt --key-id 'arn:' --plaintext 'fileb://webhook' --output text --query CiphertextBlob | `any` | n/a | yes |\n| notify_users | Slack usernames for mentions as a space separated string as '\u003c@name1\u003e \u003c@name2\u003e' or '\u003c!channel\u003e' or '\u003c!here\u003e' | `string` | `\"\"` | no |\n| verbose | All codedeploy messages will be output if true. Only CREATED, FAILED, STOPPED and SUCCEEDED if it is empty or false | `string` | `\"true\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| sns_topic | n/a |\n\n\n## Example\n```\n  module \"slack-notification\" {\n    source  = \"github.com/skyscrapers/terraform-codedeploy//notify-slack\"\n    slack_webhook_url = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"\n    slack_channel = \"#channel_name\"\n    kms_key_arn = aws_kms_key.kms_key.arn\n  }\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyscrapers%2Fterraform-codedeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyscrapers%2Fterraform-codedeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyscrapers%2Fterraform-codedeploy/lists"}