- Clone this repo
- 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
- Change directory to
examples
folder, and changeterraform.tfvars.example
toterraform.tfvars
- (Under
examples
folder) Input corresponding variables underterraform.tfvars
file - (Under
examples
folder) Runterraform init && terraform apply
- You could then visit the corresponding EYC environment to observe the changes.