Skip to content

s3lva-kumar/terraform-linode-faasd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faasd for Linode

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.

What's a Terraform Module?

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.

How do you use this module?

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"
}

Requirements

Name Version
terraform >= 1.1.6
linode >= 1.27.0
random >= 3.1.2

Providers

Name Version
linode >= 1.27.0
random >= 3.1.2

Resources

Name Type
linode_instance resource
linode_firewall resource
linode_sshkey resource
random_password.faasd resource

Inputs

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 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

Outputs

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

See Also

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 91.8%
  • Shell 8.2%