Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damoun/terraform-coolify-cloudinit
Terraform module to deploy Coolify using cloudinit
https://github.com/damoun/terraform-coolify-cloudinit
Last synced: about 1 month ago
JSON representation
Terraform module to deploy Coolify using cloudinit
- Host: GitHub
- URL: https://github.com/damoun/terraform-coolify-cloudinit
- Owner: damoun
- Created: 2024-06-10T21:12:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-28T03:53:02.000Z (about 2 months ago)
- Last Synced: 2024-10-28T07:14:51.974Z (about 2 months ago)
- Language: HCL
- Homepage: https://registry.terraform.io/modules/damoun/cloudinit/coolify/latest
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
terraform-coolify-cloudinit
A terraform module to install Coolify with cloudinit user data.
Requirements •
Example •
Providers •
Modules •
Inputs •
Outputs •
Resources## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.8.4 |
| [cloudinit](#requirement\_cloudinit) | 2.3.4 |
| [http](#requirement\_http) | 3.4.3 |## Example
```hcl
# Example, should give the user an idea about how to use this module.
# This code is found in the examples directory.
terraform {
required_version = ">= 1.8.4"
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "1.47.0"
}
}
}provider "hcloud" {}
module "coolify" {
source = "../"
}resource "hcloud_server" "coolify" {
name = "coolify"
image = "ubuntu-24.04"
server_type = "cax11"
location = "nbg1"
public_net {
ipv4_enabled = true
ipv6_enabled = true
}
user_data = module.coolify.user_data
}
```## Providers
| Name | Version |
|------|---------|
| [cloudinit](#provider\_cloudinit) | 2.3.4 |
| [http](#provider\_http) | 3.4.3 |## Modules
No modules.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [url\_install\_script](#input\_url\_install\_script) | The URL of the install script of Coolify | `string` | `"https://cdn.coollabs.io/coolify/install.sh"` | no |## Outputs
| Name | Description |
|------|-------------|
| [user\_data](#output\_user\_data) | The rendered user data for the server |## Resources
| Name | Type |
|------|------|
| [cloudinit_config.coolify](https://registry.terraform.io/providers/hashicorp/cloudinit/2.3.4/docs/data-sources/config) | data source |
| [http_http.install_script](https://registry.terraform.io/providers/hashicorp/http/3.4.3/docs/data-sources/http) | data source |