Installation
- Download
terraform-provider-exoscale
from the releases page;
- Put it into the
.terraform/plugins/(darwin|linux|windows)_amd64
folder and make it executable;
- Run
terraform init
.
$ terraform providers
.
└── provider.exoscale
Go read the article on our weblog Terraform on Exoscale.
Resources
The documentation has moved into website
.
Storage on S3
terraform = {
backend "s3" {
bucket = "..."
endpoint = "https://sos-ch-dk-2.exo.io"
key = "..."
region = "ch-dk-2"
access_key = "..."
secret_key = "..."
# Deactivate the AWS specific behaviours
#
# https://www.terraform.io/docs/backends/types/s3.html#skip_credentials_validation
skip_credentials_validation = true
skip_get_ec2_platforms = true
skip_requesting_account_id = true
skip_metadata_api_check = true
skip_region_validation = true
}
}
Contributing
Contributions are welcome and we encourage you to build the provider locally
before sending a pull request.
Building
$ git clone https://github.com/exoscale/terraform-provider-exoscale
$ cd terraform-provider-exoscale
$ make build
# making a release (for Exoscale staff only)
$ make release
Development
# quick build of the provider
$ make
# updating the dependencies
$ make deps-update