No description
  • Go 97.1%
  • HTML 2%
  • Shell 0.6%
  • Makefile 0.3%
Find a file
OpenTofu Core Development Team df0770b377 Apply GitHub workflow changes
2025-11-18 15:35:05 +02:00
.github Apply GitHub workflow changes 2025-11-18 15:35:05 +02:00
opc Enable timouts for vpn_endpoint_v2 2021-03-07 13:15:05 -05:00
scripts Add subcategories to docs for Terraform Registry 2019-11-08 11:27:28 -05:00
vendor Update go-oracle-terraform to 0.17.0 2020-04-08 11:23:33 -07:00
website Add subcategories to docs for Terraform Registry 2019-11-08 11:27:28 -05:00
.gitignore add gitignore 2017-06-08 20:31:49 -04:00
.go-version provider: Ensured Go 1.11 in TravisCI and README 2019-02-26 12:46:43 -05:00
.travis.yml Add subcategories to docs for Terraform Registry 2019-11-08 11:27:28 -05:00
.travis.yml.bak make: Add website + website-test targets 2018-04-30 08:54:50 +01:00
CHANGELOG.md v1.4.1 2021-03-08 17:03:58 +00:00
GNUmakefile Add subcategories to docs for Terraform Registry 2019-11-08 11:27:28 -05:00
go.mod Update go-oracle-terraform to 0.17.0 2020-04-08 11:23:33 -07:00
go.sum Update go-oracle-terraform to 0.17.0 2020-04-08 11:23:33 -07:00
LICENSE initial commit 2017-06-05 20:54:13 +00:00
main.go Initial transfer of provider code 2017-06-06 12:57:15 -04:00
README.md Archive OPC Provider (#179) 2022-03-25 12:30:23 -04:00

📝 This provider is no longer maintained by HashiCorp.

Terraform Provider

Requirements

  • Terraform 0.10.x
  • Go 1.11 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-opc

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone https://github.com/terraform-providers/terraform-provider-opc.git

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-opc
$ make build

Using the provider

Fill in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make bin
...
$ $GOPATH/bin/terraform-provider-opc
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc