Skip to content

Instantly share code, notes, and snippets.

@thomascarpentier
Created December 6, 2019 15:28
Show Gist options
  • Save thomascarpentier/7dfcf00d39a513b3eb249ee7f412a829 to your computer and use it in GitHub Desktop.
Save thomascarpentier/7dfcf00d39a513b3eb249ee7f412a829 to your computer and use it in GitHub Desktop.
Start Genymotion SaaS instances with terraform
# Configure the Genymotion Provider
provider "genymotion" {
email = "GENYMOTION_CLOUD_SAAS_EMAIL_HERE"
password = "GENYMOTION_CLOUD_SAAS_PASSWORD_HERE"
}
# Create a Genymotion Cloud SaaS Android 9.0 instance
resource "genymotion_cloud" "Android90" {
recipe_uuid = "143eb44a-1d3a-4f27-bcac-3c40124e2836" # Google Pixel 3
name = "Android90"
}
# Create a Genymotion Cloud SaaS Android 8.0 instance
resource "genymotion_cloud" "Android80" {
recipe_uuid = "a59951f2-ed13-40f9-80b9-3ddceb3c89f5" # Google Nexus 6
name = "Android80"
}
# Create a Genymotion Cloud SaaS Android 7.0 instance
resource "genymotion_cloud" "Android70" {
recipe_uuid = "b747b286-4729-46ef-9bfa-f05942b15588" # Google Pixel C
name = "Android70"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment