https://github.com/corellium/terraform-provider-corellium
Manage Corellium resources using Terraform!
https://github.com/corellium/terraform-provider-corellium
corellium terraform virtualization
Last synced: about 1 year ago
JSON representation
Manage Corellium resources using Terraform!
- Host: GitHub
- URL: https://github.com/corellium/terraform-provider-corellium
- Owner: corellium
- Created: 2023-10-02T15:33:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T18:58:21.000Z (almost 2 years ago)
- Last Synced: 2025-04-22T21:09:10.368Z (about 1 year ago)
- Topics: corellium, terraform, virtualization
- Language: Go
- Homepage: https://registry.terraform.io/providers/corellium/corellium/latest
- Size: 10.2 MB
- Stars: 3
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Corellium Provider



The Corellium allows [Terraform](https://terraform.io) to manage [Corellium](https://www.corellium.com/?utm_source=github.com&utm_content=terraform-provider-corellium&utm_medium=github&utm_campaign=aimoda) resources.
- Examples can be found in the [examples](examples/) directory.
- Documentation can be found in the [docs](docs/) directory. At the same directory, you can find `demo.tf` file which contains all a small usage example.
_**Please note:** If you believe you have found a security issue in the Terraform Corellium Provider, please responsibly disclose it by contacting us at terraform-provider-corellium@security.email.ai.moda._
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.13.x or higher
- [Go](https://golang.org/doc/install) 1.20.x (to build the provider plugin)
## Usage
This is a simple example of creating a project and multiple iOS versions at once.
```terraform
terraform {
required_providers {
corellium = {
source = "corellium/corellium"
version = "0.0.2-alpha"
}
}
}
provider "corellium" {
token = ""
}
resource "corellium_v1project" "backtesting" {
name = "ios_backtesting"
settings = {
version = 1
internet_access = false
dhcp = false
}
quotas = {
cores = 60
}
users = []
teams = []
keys = []
}
variable "ios_versions" {
default = ["16.0", "16.0.2", "16.0.3", "16.1", "16.1.1", "16.1.2", "16.2", "16.3", "16.3.1", "16.4"]
type = set(string)
}
resource "corellium_v1instance" "test_instance" {
for_each = var.ios_versions
name = "version_${each.key}"
flavor = "iphone8plus"
project = corellium_v1project.backtesting.id
os = each.key
}
```
Then, run:
```sh
CORELLIUM_API_TOKEN="YOUR.API_KEY_HERE" CORELLIUM_API_HOST="YOURDOMAIN.enterprise.corellium.com" terraform apply
```
To tear down everything that was created, run:
```sh
CORELLIUM_API_TOKEN="YOUR.API_KEY_HERE" CORELLIUM_API_HOST="YOURDOMAIN.enterprise.corellium.com" terraform destroy
```