Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 848 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 848 Bytes

Terraform Provider EYC

Deployment

  1. Clone this repo
  2. At the root path, install the provider with make install, which would install the plugin locally at ~/.terraform.d/plugins/ path which you could then setup provider in Terraform with
terraform {
  required_providers {
    eyc = {
      version = "0.1"
      source  = "engineyard/terraform/eyc"
    }
  }
}

provider "eyc" {
  token = var.eyc_token
}

Note: eyc_token could be retrieved from https://cloud.engineyard.com/cli

  1. Change directory to examples folder, and change terraform.tfvars.example to terraform.tfvars
  2. (Under examples folder) Input corresponding variables under terraform.tfvars file
  3. (Under examples folder) Run terraform init && terraform apply
  4. You could then visit the corresponding EYC environment to observe the changes.