{"id":19768710,"url":"https://github.com/terraform-do-modules/terraform-digitalocean-app","last_synced_at":"2025-04-30T17:30:43.768Z","repository":{"id":187479324,"uuid":"666304953","full_name":"terraform-do-modules/terraform-digitalocean-app","owner":"terraform-do-modules","description":"Terraform module to create app resources. App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.","archived":false,"fork":false,"pushed_at":"2025-02-24T04:40:42.000Z","size":63,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T03:12:32.925Z","etag":null,"topics":["app-platform","clouddrove","devops","digitalocean","digitaloocean-app","hackoctoberfest","iac-terraform","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://docs.digitalocean.com/products/app-platform/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terraform-do-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-14T07:28:05.000Z","updated_at":"2024-11-07T09:03:48.000Z","dependencies_parsed_at":"2023-08-10T18:39:42.169Z","dependency_job_id":"4978413c-0ff0-40ec-b36f-31c904e866cb","html_url":"https://github.com/terraform-do-modules/terraform-digitalocean-app","commit_stats":null,"previous_names":["terraform-do-modules/terraform-digitalocean-app"],"tags_count":3,"template":false,"template_full_name":"clouddrove/terraform-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-do-modules%2Fterraform-digitalocean-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-do-modules%2Fterraform-digitalocean-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-do-modules%2Fterraform-digitalocean-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-do-modules%2Fterraform-digitalocean-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terraform-do-modules","download_url":"https://codeload.github.com/terraform-do-modules/terraform-digitalocean-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251751064,"owners_count":21637852,"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":["app-platform","clouddrove","devops","digitalocean","digitaloocean-app","hackoctoberfest","iac-terraform","terraform","terraform-module"],"created_at":"2024-11-12T04:39:55.205Z","updated_at":"2025-04-30T17:30:43.415Z","avatar_url":"https://github.com/terraform-do-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- This file was automatically generated by the `genie`. Make all changes to `README.yaml` and run `make readme` to rebuild this file. --\u003e\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"https://user-images.githubusercontent.com/50652676/62349836-882fef80-b51e-11e9-99e3-7b974309c7e3.png\" width=\"100\" height=\"100\"\u003e\u003c/p\u003e\n\n\n\u003ch1 align=\"center\"\u003e\n    Terraform Digitalocean App\n\u003c/h1\u003e\n\n\u003cp align=\"center\" style=\"font-size: 1.2rem;\"\u003e\n    Terraform module to create Digitalocean app service resource on Digitalocean.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\n\u003ca href=\"https://github.com/terraform-do-modules/terraform-digitalocean-app/releases/latest\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/release/terraform-do-modules/terraform-digitalocean-app.svg\" alt=\"Latest Release\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/terraform-do-modules/terraform-digitalocean-app/actions/workflows/tfsec.yml\"\u003e\n  \u003cimg src=\"https://github.com/terraform-do-modules/terraform-digitalocean-app/actions/workflows/tfsec.yml/badge.svg\" alt=\"tfsec\"\u003e\n\u003c/a\u003e\n\u003ca href=\"LICENSE\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-APACHE-blue.svg\" alt=\"Licence\"\u003e\n\u003c/a\u003e\n\n\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\n\u003ca href='https://facebook.com/sharer/sharer.php?u=https://github.com/terraform-do-modules/terraform-digitalocean-app'\u003e\n  \u003cimg title=\"Share on Facebook\" src=\"https://user-images.githubusercontent.com/50652676/62817743-4f64cb80-bb59-11e9-90c7-b057252ded50.png\" /\u003e\n\u003c/a\u003e\n\u003ca href='https://www.linkedin.com/shareArticle?mini=true\u0026title=Terraform+Digitalocean+App\u0026url=https://github.com/terraform-do-modules/terraform-digitalocean-app'\u003e\n  \u003cimg title=\"Share on LinkedIn\" src=\"https://user-images.githubusercontent.com/50652676/62817742-4e339e80-bb59-11e9-87b9-a1f68cae1049.png\" /\u003e\n\u003c/a\u003e\n\u003ca href='https://twitter.com/intent/tweet/?text=Terraform+Digitalocean+App\u0026url=https://github.com/terraform-do-modules/terraform-digitalocean-app'\u003e\n  \u003cimg title=\"Share on Twitter\" src=\"https://user-images.githubusercontent.com/50652676/62817740-4c69db00-bb59-11e9-8a79-3580fbbf6d5c.png\" /\u003e\n\u003c/a\u003e\n\n\u003c/p\u003e\n\u003chr\u003e\n\n\nWe eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy \u003cb\u003eBigger problems are always solved by breaking them into smaller manageable problems\u003c/b\u003e. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller \u003cb\u003econnected yet manageable pieces\u003c/b\u003e within the infrastructure. \n\nThis module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself.\n\nWe have [*fifty plus terraform modules*][terraform_modules]. A few of them are completed and are available for open source usage while a few others are in progress.\n\n\n\n\n## Prerequisites\n\nThis module has a few dependencies: \n- [Terraform 1.5.4](https://learn.hashicorp.com/terraform/getting-started/install.html)\n\n\n\n\n\n\n\n## Examples\n\n\n**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/terraform-do-modules/terraform-digitalocean-app/releases).\n\n\nHere are some examples of how you can use this module in your inventory structure:\n## basic example\n```hcl\nmodule \"app\" {\n  source          = \"terraform-do-modules/app/digitalocean\"\n  version         = \"1.0.2\"\n  spec = [{\n    name   = \"test\"\n    region = \"nyc\"\n\n    domain = {\n      name = \"test.do.clouddrove.ca\"\n      type = \"PRIMARY\"\n      zone = \"do.clouddrove.ca\"\n    }\n\n    service = {\n      name = \"librqary-nginx\"\n      image = {\n        registry_type  = \"DOCKER_HUB\"\n        registry       = \"library\"\n        repository     = \"nginx\"\n        tag            = \"latest\"\n        internal_ports = \"80\"\n        deploy_on_push = {\n          enabled = true\n        }\n      }\n      alert = {\n        rule     = \"CPU_UTILIZATION\"\n        value    = 50\n        operator = \"GREATER_THAN\"\n        window   = \"FIVE_MINUTES\"\n        disabled = false\n      }\n    }\n  }]\n}\n```\n## complete example\n```hcl\nmodule \"app\" {\n  source          = \"terraform-do-modules/app/digitalocean\"\n  version         = \"1.0.2\"\n  spec = [{\n    name   = \"test\"\n    region = \"nyc\"\n    domain = {\n      name = \"test.do.clouddrove.ca\"\n      type = \"PRIMARY\"\n      zone = \"do.clouddrove.ca\"\n    }\n\n    static_site = {\n      name             = \"blog\"\n      build_command    = \"bundle exec jekyll build -d ./public\"\n      environment_slug = \"hugo\"\n      output_dir       = \"/public\"\n\n      git = {\n        repo_clone_url = \"https://github.com/digitalocean/sample-jekyll.git\"\n        branch         = \"main\"\n      }\n\n      routes = {\n        path = \"/\"\n      }\n    }\n  }]\n}\n```\n\n\n\n\n\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| enabled | Flag to control the resources creation. | `bool` | `true` | no |\n| spec | (Required) A DigitalOcean App spec describing the app. | `any` | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| active\\_deployment\\_id | The ID the app's currently active deployment. |\n| created\\_at | The date and time of when the app was created. |\n| default\\_ingress | The default URL to access the app. |\n| id | ID of the app. |\n| live\\_url | The live URL of the app. |\n| updated\\_at | The date and time of when the app was last updated. |\n\n\n\n\n## Testing\nIn this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest), and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system. \n\nYou need to run the following command in the testing folder:\n```shell\n  go test -run Test\n```\n\n\n\n## Feedback\nIf you come across a bug or have any feedback, please log it in our [issue tracker](https://github.com/terraform-do-modules/terraform-digitalocean-app/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com).\n\nIf you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/terraform-do-modules/terraform-digitalocean-app)!\n\n## About us\n\nAt [CloudDrove][website], we offer expert guidance, implementation support and services to help organisations accelerate their journey to the cloud. Our services include docker and container orchestration, cloud migration and adoption, infrastructure automation, application modernisation and remediation, and performance engineering.\n\n\u003cp align=\"center\"\u003eWe are \u003cb\u003e The Cloud Experts!\u003c/b\u003e\u003c/p\u003e\n\u003chr /\u003e\n\u003cp align=\"center\"\u003eWe ❤️  \u003ca href=\"https://github.com/clouddrove\"\u003eOpen Source\u003c/a\u003e and you can check out \u003ca href=\"https://github.com/clouddrove\"\u003eour other modules\u003c/a\u003e to get help with your new Cloud ideas.\u003c/p\u003e\n\n  [website]: https://clouddrove.com\n  [github]: https://github.com/clouddrove\n  [linkedin]: https://cpco.io/linkedin\n  [twitter]: https://twitter.com/clouddrove/\n  [email]: https://clouddrove.com/contact-us.html\n  [terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93\u0026q=terraform-\u0026type=\u0026language=\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-do-modules%2Fterraform-digitalocean-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraform-do-modules%2Fterraform-digitalocean-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-do-modules%2Fterraform-digitalocean-app/lists"}