This repo contains a Terraform Plan for how to deploy a faasd instance on the Linode using Terraform.
faasd, a lightweight & portable faas engine, is OpenFaaS reimagined, but without the cost and complexity of Kubernetes. It runs on a single host with very modest requirements, making it fast and easy to manage. Under the hood it uses containerd and Container Networking Interface (CNI) along with the same core OpenFaaS components from the main project.
A Terraform Module refers to a self-contained packages of Terraform configurations that are managed as a group. This repo is a Terraform Module and contains many "submodules" which can be composed together to create useful infrastructure patterns.
This repository defines a Terraform module, which you can use in your
code by adding a module
configuration and setting its source
parameter to URL of this repository:
module "faasd" {
source = "https://github.com/itTrident/terraform-linode-faasd"
name = "faasd"
}
Name | Version |
---|---|
terraform | >= 1.1.6 |
linode | >= 1.27.0 |
random | >= 3.1.2 |
Name | Version |
---|---|
linode | >= 1.27.0 |
random | >= 3.1.2 |
Name | Type |
---|---|
linode_instance | resource |
linode_firewall | resource |
linode_sshkey | resource |
random_password.faasd | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
basic_auth_password | The basic auth password, if left empty, a random password is generated. | string |
null |
no |
basic_auth_user | The basic auth user name. | string |
"" |
no |
domain | A public domain for the faasd instance. This will be consumed by Caddy and install a Let's Encrypt certificate. | string |
"" |
no |
Email used to order a certificate from Let's Encrypt | string |
"" |
no | |
instance_type | The instance type to use for the instance. | string |
"" |
no |
instance_labels | The Linode's label is for display purposes only. | string |
"" |
no |
instance_image | The name of the image to faasd instance. | string |
"" |
yes |
region | The name of the region to deploy the faasd into. | string |
"" |
yes |
linode_api_token | API tonken for linode. | string |
"" |
yes |
root_pass | Instance root password. | string |
"" |
yes |
Name | Description |
---|---|
basic_auth_password | The basic auth password. |
basic_auth_user | The basic auth user name. |
gateway_url | The url of the faasd gateway |
ipv4_address | The public IP address of the faasd instance |
- faasd on Amazon Web Services with Terraform
- faasd on Google Cloud Platform with Terraform
- faasd on Microsoft Azure with Terraform
- faasd on DigitalOcean with Terraform
- faasd on Equinix Metal with Terraform
- faasd on Scaleway with Terraform
- faasd on Vultr with Terraform
- faasd on Exoscale with Terraform