{"id":15318751,"url":"https://github.com/appleboy/drone-terraform-in-aws","last_synced_at":"2025-04-15T02:28:38.038Z","repository":{"id":66187372,"uuid":"140362737","full_name":"appleboy/drone-terraform-in-aws","owner":"appleboy","description":"drone infrastructure in AWS","archived":false,"fork":false,"pushed_at":"2018-11-07T15:55:52.000Z","size":199,"stargazers_count":47,"open_issues_count":0,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T07:32:53.214Z","etag":null,"topics":["aws","aws-ecs","drone","drone-ci","fargate","terraform"],"latest_commit_sha":null,"homepage":"","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/appleboy.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":"security_group.tf","support":null,"governance":null}},"created_at":"2018-07-10T01:50:47.000Z","updated_at":"2023-06-03T13:37:29.000Z","dependencies_parsed_at":"2023-02-22T17:30:35.583Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/drone-terraform-in-aws","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"e191e9568dd002eab8df8ab08053cbc4a72160a0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-terraform-in-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-terraform-in-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-terraform-in-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-terraform-in-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/drone-terraform-in-aws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923724,"owners_count":21183953,"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-ecs","drone","drone-ci","fargate","terraform"],"created_at":"2024-10-01T09:02:28.347Z","updated_at":"2025-04-15T02:28:37.983Z","avatar_url":"https://github.com/appleboy.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drone-terraform\n\n\u003cimg src=\"./screenshot/aws.png\"\u003e\n\n[Drone](https://github.com/drone/drone) CI/CD infrastructure using [Terraform][3] in [AWS](https://aws.amazon.com).\n\n## Requirement\n\nAWS Fargate with Amazon ECS is currently only available in the following regions:\n\n\n| Region Name | Region | \n| --- | --- | \n| US East \\(N\\. Virginia\\) | us\\-east\\-1 | \n| US East \\(Ohio\\) | us\\-east\\-2 | \n| US West \\(Oregon\\) | us\\-west\\-2 | \n| EU \\(Ireland\\) | eu\\-west\\-1 | \n| EU \\(London\\) | eu\\-west\\-2 | \n| EU \\(Frankfurt\\) | eu\\-central\\-1 | \n| Asia Pacific \\(Tokyo\\) | ap\\-northeast\\-1 | \n| Asia Pacific \\(Singapore\\) | ap\\-southeast\\-1 | \n| Asia Pacific \\(Sydney\\) | ap\\-southeast\\-2 | \n\nSee [AWS Fargate on Amazon ECS][1] to get more detail information. Service discovery is available in the following AWS Regions:\n\n| Region Name | Region | \n| --- | --- | \n| US East \\(N\\. Virginia\\) | us\\-east\\-1 | \n| US East \\(Ohio\\) | us\\-east\\-2 | \n| US West \\(N\\. California\\) | us\\-west\\-1 | \n| US West \\(Oregon\\) | us\\-west\\-2 | \n| Asia Pacific \\(Mumbai\\) | ap\\-south\\-1 | \n| Asia Pacific \\(Seoul\\) | ap\\-northeast\\-2 | \n| Asia Pacific \\(Singapore\\) | ap\\-southeast\\-1 | \n| Asia Pacific \\(Sydney\\) | ap\\-southeast\\-2 | \n| Asia Pacific \\(Tokyo\\) | ap\\-northeast\\-1 | \n| EU \\(Frankfurt\\) | eu\\-central\\-1 | \n| EU \\(Ireland\\) | eu\\-west\\-1 | \n| EU \\(London\\) | eu\\-west\\-2 | \n| EU \\(Paris\\) | eu\\-west\\-3 | \n| South America \\(São Paulo\\) | sa\\-east\\-1 | \n| Canada \\(Central\\) | ca\\-central\\-1 | \n\nSee [AWS Service Discovery][2] to get more detail information. Before you begin, make sure you've read the limition.\n\n[1]:https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html\n[2]:https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html\n[3]:https://www.terraform.io/\n\n## Configuration\n\ncreate new file with `terraform.tfvars` filename and put the following variable:\n\n```\naws_access_key = \"xxx\"\naws_secret_key = \"xxx\"\ndrone_github_client = \"xxxx\"\ndrone_github_secret = \"xxxx\"\nssh_public_key = \"ssh-rsa xxxxxx appleboy@xxxx\"\n```\n\n## Build Infrastructure\n\n\nThe first command to run for a new configuration\n\n```\n$ terraform init\nInitializing the backend...\nInitializing provider plugins...\n- downloading plugin for provider \"aws\"...\n```\n\nApply Changes\n\n```\n$ terraform apply\n```\n\nYou will see the output:\n\n```\nOutputs:\n\nalb_hostname = http://drone-front-alb-xxxxxxx.us-east-1.elb.amazonaws.com\ndatabase_root_password = \u003csensitive\u003e\nregion = us-east-1\n```\n\n## How to testing\n\n```sh\n$ go test -timeout 30m -v .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fdrone-terraform-in-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fdrone-terraform-in-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fdrone-terraform-in-aws/lists"}