Skip to content

Commit 91fea09

Browse files
anandhmahalparweza
authored andcommitted
Revised installation instruction for different platforms
1 parent dfaf76d commit 91fea09

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,29 +49,33 @@ https://github.com/oracle/terraform-provider-oci/releases
4949

5050
Unpack the provider. Terraform v0.10.x introduces a change to plugin
5151
management where v0.9.x configuration no longer applies. To be compatible
52-
with both terraform v0.9.x and v0.10.x, put the provider in the following
53-
location:
52+
with both terraform v0.9.x and v0.10.x, do the following depending on your
53+
platform.
5454

5555
##### On \*nix other than Oracle Linux 7.x
56+
Copy the provider to the following location:
5657
```
5758
~/.terraform.d/plugins/
5859
```
59-
60-
Then create the `~/.terraformrc` file that specifies the path to the
61-
`oci` provider **(only required for v0.9.x)**.
60+
###### For terraform v0.9.x only
61+
Create the `~/.terraformrc` file that specifies the path to the
62+
`oci` provider.
6263
```
6364
providers {
6465
oci = "~/.terraform.d/plugins/terraform-provider-oci"
6566
}
6667
```
6768

68-
#### On Windows
69+
##### On Windows
70+
Copy the provider to the following location:
6971
```
7072
%APPDATA%/terraform.d/plugins/
7173
```
74+
Note: `%APPDATA%` is a system path specific to your Windows version.
7275

73-
Then create `%APPDATA%/terraform.rc` that specifies the path to the
74-
`oci` provider **(only required for v0.9.x)**.
76+
###### For terraform v0.9.x only
77+
Create `%APPDATA%/terraform.rc` that specifies the path to the
78+
`oci` provider.
7579
```
7680
providers {
7781
oci = "%appdata%/terraform.d/plugins/terraform-provider-oci"
@@ -90,7 +94,7 @@ environments you may want to maintain multiple sets of environment
9094
variables.
9195
See the [compute single instance example](https://github.com/oracle/terraform-provider-oci/tree/master/docs/examples/compute/instance) for more info.
9296

93-
In your ~/.bash_profile set these variables
97+
In your `~/.bash_profile` set these variables
9498
```
9599
export TF_VAR_tenancy_ocid=
96100
export TF_VAR_user_ocid=

0 commit comments

Comments
 (0)