Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-toa committed Nov 25, 2022
1 parent 670a3f7 commit 45c5672
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {
required_providers {
outscale = {
source = "outscale-dev/outscale"
version = "0.6.0"
version = "0.7.0"
}
}
}
Expand Down Expand Up @@ -48,7 +48,7 @@ terraform {
required_providers {
outscale = {
source = "outscale-dev/outscale"
version = "0.6.0"
version = "0.7.0"
}
}
}
Expand All @@ -72,22 +72,22 @@ Clone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provi
```sh
mkdir -p $GOPATH/src/github.com/terraform-providers
cd $GOPATH/src/github.com/terraform-providers
git clone --branch v0.6.0 https://github.com/outscale-dev/terraform-provider-outscale
git clone --branch v0.7.0 https://github.com/outscale-dev/terraform-provider-outscale
```
Enter the provider directory and build the provider
```sh
cd $GOPATH/src/github.com/terraform-providers/terraform-provider-outscale
go build -o terraform-provider-outscale_v0.6.0
go build -o terraform-provider-outscale_v0.7.0
```
## Using the provider
### On Linux

1. Download and install [Terraform](https://www.terraform.io/downloads.html)

2. Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.6.0/linux_amd64/.
2. Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.7.0/linux_amd64/.
```shell
mkdir -p ~/.terraform.d/plugins/regisutry.terraform.io/outscale-dev/outscale/0.6.0/linux_amd64
mv terraform-provider-outscale_v0.5.0 ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.6.0/linux_amd64
mkdir -p ~/.terraform.d/plugins/regisutry.terraform.io/outscale-dev/outscale/0.7.0/linux_amd64
mv terraform-provider-outscale_v0.7.0 ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.7.0/linux_amd64
```
3. Execute `terraform init

Expand All @@ -96,10 +96,10 @@ mv terraform-provider-outscale_v0.5.0 ~/.terraform.d/plugins/registry.terraform.
### On macOS
1. Download and install [Terraform](https://www.terraform.io/downloads.html)

2. Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.6.0/darwin_arm64
2. Move the plugin to the repository ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.7.0/darwin_arm64
```shell
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.6.0/darwin_arm64
mv terraform-provider-outscale_v0.6.0 ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.6.0/darwin_arm64
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.7.0/darwin_arm64
mv terraform-provider-outscale_v0.7.0 ~/.terraform.d/plugins/registry.terraform.io/outscale-dev/outscale/0.7.0/darwin_arm64
```

3. Execute `terraform init`
Expand Down

0 comments on commit 45c5672

Please sign in to comment.