Skip to content

SierraJC/terraform-provider-coolify

Repository files navigation


Terraform Provider for Coolify v4

This project is a community-driven initiative and is not affiliated with or an official product of Coolify.

Documentation: https://registry.terraform.io/providers/SierraJC/coolify/latest/docs

The Coolify provider enables Terraform to manage Coolify v4 (beta) resources. See the examples directory for usage examples.

This project follows Semantic Versioning. As the current version is 0.x.x, the API should be considered unstable and subject to breaking changes.

Prerequisites

Before you begin using the Coolify Terraform Provider, ensure you have completed the following steps:

  1. Install Terraform by following the official HashiCorp documentation.
  2. Create a new API token with Root Access in the Coolify dashboard. See the Coolify API documentation
  3. Set the COOLIFY_TOKEN environment variable to your API token. For example, add the following line to your .bashrc file:
    export COOLIFY_TOKEN="Your API token"

Supported Coolify Resources

Feature Resource Data Source
Teams ️✔️
Private Keys ✔️ ✔️
Servers ✔️ ️✔️
- Server Resources ️✔️
- Server Domains ️✔️
Destinations
Projects ✔️ ✔️
- Project Environments
Resources
Databases ⚒️
Services ⚒️
- Service Environments ✔️
Applications ⚒️ ✔️
- Application Environments ✔️

✔️ Supported ⚒️ Partial Support ➖ Planned ⛔ Blocked by Coolify API

The provider is currently limited by the Coolify API, which is still in development. As the API matures, more resources will be added to the provider.

Contributing

Contributions are welcome! If you would like to contribute to this project, please read the CONTRIBUTING.md file.

License

This project is licensed under the MIT License. See the LICENSE file for details.