Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Latest commit

 

History

111 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-digitalocean-static-site

Terraform module for deploying static sites on DigitalOcean's App Platform, with support for Cloudflare DNS.

Usage:

Create a .tf file inside your root module to call this module and set variables. An example workspace can be found in this repo build test.

See variables.tf for variable descriptions and examples.

See DigitalOcean's documentation for a list of supported languages and frameworks.

The site's default ingress URL can be found in the module output default_ingress.

Optionally, this module is able to automatically create Cloudflare DNS records pointing to your app.

To enable this, set the following variables in your module block.

  • manage_dns = true
  • cloudflare_zone_id = "zone_id"

Note - If you disable DNS management, you will still need to declare the cloudflare provider in your root module to satisfy dependencies. If you do not wish to provide an API key, you must set it to nullnullnullnullnullnullnullnullnullnull.

About

Terraform module for deploying static sites to DigitalOcean's App Platform

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages