This repo contains a Terraform Module for how to deploy a faasd instance on Scaleway 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:
variable "project_id" {
type = string
}
variable "zone" {
type = string
}
module "faasd" {
source = "github.com/jsiebens/terraform-scaleway-faasd"
name = "faasd"
project_id = var.project_id
zone = var.zone
}
Name | Version |
---|---|
terraform | >= 1.0.0 |
random | >= 3.1.0 |
scaleway | >= 2.2.0 |
Name | Version |
---|---|
random | >= 3.1.0 |
scaleway | >= 2.2.0 |
No modules.
Name | Type |
---|---|
random_password.faasd | resource |
scaleway_instance_ip.faasd | resource |
scaleway_instance_security_group.faasd | resource |
scaleway_instance_server.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 |
"admin" |
no |
domain | A public domain for the faasd instance. This will the use of Caddy and a Let's Encrypt certificate | string |
"" |
no |
Email used to order a certificate from Let's Encrypt | string |
"" |
no | |
name | The name of the faasd instance. All resources will be namespaced by this value. | string |
n/a | yes |
project_id | n/a | string |
n/a | yes |
type | n/a | string |
"DEV1-S" |
no |
zone | n/a | string |
n/a | 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 |