Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crunchloop/terraform-provider-crunchloop
https://github.com/crunchloop/terraform-provider-crunchloop
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crunchloop/terraform-provider-crunchloop
- Owner: crunchloop
- License: mpl-2.0
- Created: 2024-07-14T00:17:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T03:57:10.000Z (2 months ago)
- Last Synced: 2024-11-07T04:34:28.338Z (2 months ago)
- Language: Go
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Crunchloop Terraform Provider
[![License](https://img.shields.io/badge/license-MPL--2.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
The Crunchloop Terraform Provider enables you to manage your Crunchloop resources using Terraform.
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 1.0+
- [Go](https://golang.org/doc/install) 1.16+## Installation
To install the provider, copy and paste the code below into your Terraform configuration. Then, run `terraform init` to initialize the provider.
```hcl
terraform {
required_providers {
crunchloop = {
source = "crunchloop/crunchloop"
version = "0.1.0"
}
}
}provider "crunchloop" {
url = "http://localhost:3000"
}
```## Usage
Here is an example of how to use the provider to manage a Crunchloop resource:
```hcl
data "crunchloop_vmi" "ubuntu" {
name = "ubuntu-jammy-server-amd64-20241002"
}resource "crunchloop_vm" "vm" {
name = "terraform-test"
vmi_id = data.crunchloop_vmi.ubuntu.id
cores = 1
memory_megabytes = 1024
root_volume_size_gigabytes = 10
}
```## Developing the Provider
If you wish to contribute to the provider, follow these steps:
1. Clone the repository
2. Build the provider using Go: `go build -o terraform-provider-crunchloop`
3. Use the `examples` folder to test managing resources with your instance## Documentation
- [Terraform Documentation](https://registry.terraform.io/providers/crunchloop/crunchloop/latest/docs)
## License
This project is licensed under the Mozilla Public License 2.0.