Skip to content

fly-apps/terraformed-machines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform, Fly.io, DNSimple

The Fly.io Terraform Provider allows orchestration of Fly.io platform resources with other services like DNSimple, AWS, etc.

This example demonstrates how to orchestrate the creation of a fully-functional Fly application with TLS certificates, a custom domain and a public IP address. The VMs running this app are controlled using the low-level Fly.io Machines API. The appropriate DNS entries are added to handle TLS certificate validation and pointing the custom domain to Fly.io.

VMs are deployed in three separate regions. Each region's VM will accept requests from the users closest to them.

Usage

Install Terraform, then copy credentials.tfvars.example to credentials.tfvars and fill it in with credentials.

Then run:

terraform init
terraform apply -var-file=credentials.tfvars

About

Example of Fly.io machines orchestration with Terraform and DNSimple

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published