{"id":22479137,"url":"https://github.com/jsiebens/terraform-aws-faasd","last_synced_at":"2025-08-02T14:32:06.685Z","repository":{"id":65939165,"uuid":"401353951","full_name":"jsiebens/terraform-aws-faasd","owner":"jsiebens","description":"Terraform Module for how to deploy a faasd instance on Amazon Web Services","archived":false,"fork":false,"pushed_at":"2022-05-18T13:53:27.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T06:17:40.607Z","etag":null,"topics":["amazon-web-services","aws","faasd","openfaas","serverless","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsiebens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-30T13:29:35.000Z","updated_at":"2022-10-13T04:31:09.000Z","dependencies_parsed_at":"2023-02-17T09:25:13.329Z","dependency_job_id":null,"html_url":"https://github.com/jsiebens/terraform-aws-faasd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Fterraform-aws-faasd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Fterraform-aws-faasd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Fterraform-aws-faasd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Fterraform-aws-faasd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsiebens","download_url":"https://codeload.github.com/jsiebens/terraform-aws-faasd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228483617,"owners_count":17927363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-web-services","aws","faasd","openfaas","serverless","terraform","terraform-module"],"created_at":"2024-12-06T15:13:10.882Z","updated_at":"2024-12-06T15:13:11.542Z","avatar_url":"https://github.com/jsiebens.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# faasd for Amazon Web Services\n\nThis repo contains a Terraform Module for how to deploy a [faasd](https://github.com/openfaas/faasd) instance on the\n[AWS](https://aws.amazon.com/) using [Terraform](https://www.terraform.io/).\n\n__faasd__, a lightweight \u0026 portable faas engine, is [OpenFaaS](https://github.com/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](https://containerd.io/) and [Container Networking Interface (CNI)](https://github.com/containernetworking/cni) along with the same core OpenFaaS components from the main project.\n\n## What's a Terraform Module?\n\nA Terraform Module refers to a self-contained packages of Terraform configurations that are managed as a group. This repo\nis a Terraform Module and contains many \"submodules\" which can be composed together to create useful infrastructure patterns.\n\n## How do you use this module?\n\nThis repository defines a [Terraform module](https://www.terraform.io/docs/modules/usage.html), which you can use in your\ncode by adding a `module` configuration and setting its `source` parameter to URL of this repository:\n\n```hcl\nmodule \"faasd\" {\n  source = \"github.com/jsiebens/terraform-aws-faasd\"\n\n  name      = \"faasd\"\n  vpc_id    = var.vpc_id\n  subnet_id = var.subnet_id\n  key_name  = var.key_name\n}\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 1.0.0 |\n| aws | \u003e= 3.30.0 |\n| random | \u003e= 3.1.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | \u003e= 3.30.0 |\n| random | \u003e= 3.1.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_eip.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource |\n| [aws_eip_association.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip_association) | resource |\n| [aws_iam_instance_profile.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource |\n| [aws_iam_policy_attachment.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy_attachment) | resource |\n| [aws_iam_role.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_instance.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource |\n| [aws_security_group.faasd](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |\n| [random_password.faasd](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |\n| [aws_ami.ubuntu](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| basic\\_auth\\_password | The basic auth password, if left empty, a random password is generated. | `string` | `null` | no |\n| basic\\_auth\\_user | The basic auth user name. | `string` | `\"admin\"` | no |\n| domain | A public domain for the faasd instance. This will the use of Caddy and a Let's Encrypt certificate | `string` | `\"\"` | no |\n| email | Email used to order a certificate from Let's Encrypt | `string` | `\"\"` | no |\n| instance\\_type | The instance type to use for the instance. | `string` | `\"t2.micro\"` | no |\n| key\\_name | Key name of the Key Pair to use for the instance. | `string` | `null` | no |\n| name | The name of the faasd instance. | `string` | n/a | yes |\n| subnet\\_id | VPC Subnet ID to launch in. | `string` | n/a | yes |\n| tags | A map of tags to assign to the resource. | `map(string)` | `{}` | no |\n| vpc\\_id | VPC ID. | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| basic\\_auth\\_password | The basic auth password. |\n| basic\\_auth\\_user | The basic auth user name. |\n| gateway\\_url | The url of the faasd gateway |\n| ipv4\\_address | The public IP address of the faasd instance |\n\u003c!-- END_TF_DOCS --\u003e\n\n## See Also\n\n- [faasd on Amazon Web Services with Terraform](https://github.com/jsiebens/terraform-aws-faasd)\n- [faasd on Google Cloud Platform with Terraform](https://github.com/jsiebens/terraform-google-faasd)\n- [faasd on Microsoft Azure with Terraform](https://github.com/jsiebens/terraform-azurerm-faasd)\n- [faasd on DigitalOcean with Terraform](https://github.com/jsiebens/terraform-digitalocean-faasd)\n- [faasd on Equinix Metal with Terraform](https://github.com/jsiebens/terraform-equinix-faasd)\n- [faasd on Scaleway with Terraform](https://github.com/jsiebens/terraform-scaleway-faasd)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsiebens%2Fterraform-aws-faasd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsiebens%2Fterraform-aws-faasd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsiebens%2Fterraform-aws-faasd/lists"}