Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 |