- Website: https://www.terraform.io
- Mailing list: Google Groups
Warning
We have a broken change on our api when creating access_key without expiration date for all version less then v0.9.0. (GH-issues)
We recommende to upgrade on the latest (v0.11.0)
Warning
Our provider terraform has been moved from outscale-dev to outscale organisation on terraform registry
The next releases will be only publish under outscale organization on terraform registry
Add the following lines in the Terraform configuration to permit to get the provider from the Terrafom registry:
terraform {
required_providers {
outscale = {
source = "outscale/outscale"
version = "0.11.0"
}
}
}
provider "outscale" {
# Configuration options
}
export HTTPS_PROXY=http://192.168.1.24:3128
set HTTPS_PROXY=http://192.168.1.24:3128
Add the following lines in the Terraform configuration to define certificate location:
terraform {
required_version = ">= 0.13"
required_providers {
outscale = {
source = "outscale/outscale"
version = "0.11.0"
}
}
}
provider "outscale" {
access_key_id = var.access_key_id
secret_key_id = var.secret_key_id
region = var.region
x509_cert_path = "/myrepository/certificate/client_ca.crt"
x509_key_path = "/myrepository/certificate/client_ca.key"
}
or set the following environment variables:
export OUTSCALE_X509CERT=/myrepository/certificate/client_ca.crt
export OUTSCALE_X509KEY=/myrepository/certificate/client_ca.key
Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-outscale
mkdir -p $GOPATH/src/github.com/terraform-providers
cd $GOPATH/src/github.com/terraform-providers
git clone --branch v0.11.0 https://github.com/outscale/terraform-provider-outscale
Enter the provider directory and build the provider
cd $GOPATH/src/github.com/terraform-providers/terraform-provider-outscale
go build -o terraform-provider-outscale_v0.11.0
-
Download and install Terraform
-
Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/linux_amd64/.
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/linux_amd64
mv terraform-provider-outscale_v0.11.0 ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/linux_amd64
-
Execute `terraform init
-
Execute
terraform plan
-
Download and install Terraform
-
Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/darwin_arm64
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/darwin_arm64
mv terraform-provider-outscale_v0.11.0 ~/.terraform.d/plugins/registry.terraform.io/outscale/outscale/0.11.0/darwin_arm64
-
Execute
terraform init
-
Execute
terraform plan
Check CONTRIBUTING.md for more details.
Requirements:
- make
- python3
- python-venv
make doc