Closed narendradotg closed 6 years ago
Try the following:
Download the latest version of the provider from https://github.com/oracle/terraform-provider-oci/releases
Uncompress the download and copy the provider executable to ~/.terraform.d/plugins/
$ ls ~/.terraform.d/plugins/
terraform-provider-oci_v2.1.4
You can remove any oci
entries from the ~/.terraformrc
file. The .terraformrc
config is only required if you have installed the plugin in a non-standard location
Thankyou, it worked.
Terraform Version
OCI Provider Version
Description:
Followed the steps mentioned in readme https://github.com/oracle/terraform-provider-oci
Placed plugins in terraform.d/plugins/linux_amd64/ [root@bfda56bf60f2 terraform]# ls terraform.d/plugins/linux_amd64/ terraform-provider-aws_v1.13.0_x4 terraform-provider-oci [root@bfda56bf60f2 terraform]# ls terraform.d/plugins/linux_amd64/terraform-provider-oci/ CHANGELOG.md CONTRIBUTING.md crud docs LICENSE.md main.go Makefile provider README.md scripts tools vendor wercker.yml [root@bfda56bf60f2 terraform]#
Unable to execute terraform init with sample oci plan, getting the below.
Provider "oci" not available for installation. A provider named "oci" could not be found in the official repository. This may result from mistyping the provider name, or the given provider may be a third-party provider that cannot be installed automatically.
In the latter case, the plugin must be installed manually by locating and downloading a suitable distribution package and placing the plugin's executable file in the following directory: terraform.d/plugins/linux_amd64
Terraform detects necessary plugins by inspecting the configuration and state. To view the provider versions requested by each module, run "terraform providers".
Terraform Plan