No description
  • Go 97.5%
  • HTML 1.7%
  • Makefile 0.4%
  • Shell 0.4%
Find a file
2020-07-30 17:56:46 +00:00
.github Create stale.yml 2020-03-27 10:06:42 -05:00
examples Adding support for GROUP_MEMBERSHIP_ADMIN & REPORT_ADMIN (#138) 2020-07-29 21:14:19 -05:00
okta Adding support for GROUP_MEMBERSHIP_ADMIN & REPORT_ADMIN (#138) 2020-07-29 21:14:19 -05:00
scripts add changelog script 2019-10-16 10:36:43 -07:00
sdk Adding support for GROUP_MEMBERSHIP_ADMIN & REPORT_ADMIN (#138) 2020-07-29 21:14:19 -05:00
vendor Add user lockout notification channels 2020-04-03 08:07:24 +02:00
website Update app_oauth.html.markdown (#151) 2020-07-29 21:40:01 -05:00
.env.sample Add a snippet on filtering tests 2019-07-14 20:52:38 -05:00
.gitignore Adding support for SMS template changes in Okta terraform plugin 2020-04-03 09:05:26 -04:00
.golangci.yml Hitting some low hanging fruit on #269 2019-09-08 15:49:32 -05:00
.goreleaser.yml Update import path everywhere in preparation for move 2019-10-14 19:08:34 -05:00
.travis.yml Hitting some low hanging fruit on #269 2019-09-08 15:49:32 -05:00
CHANGELOG.md Cleanup after v3.4.0 release 2020-07-30 17:56:46 +00:00
GNUmakefile Fix tests 2019-09-09 08:51:15 -05:00
go.mod Add user lockout notification channels 2020-04-03 08:07:24 +02:00
go.sum Add user lockout notification channels 2020-04-03 08:07:24 +02:00
LICENSE Related to #269 2019-10-14 19:05:38 -05:00
main.go Run go fmt 2020-02-09 15:52:24 -06:00
README.md Updating docs using AWS provider as my template 2020-02-09 17:32:29 -06:00
tools.go Hitting some low hanging fruit on #269 2019-09-08 15:49:32 -05:00

Terraform Provider Okta

Requirements

  • Terraform 0.10+
  • Go 1.12 (to build the provider plugin)

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (please check the requirements before proceeding).

Note: This project uses Go Modules making it safe to work with it outside of your existing GOPATH. The instructions that follow assume a directory in your home directory outside of the standard GOPATH (i.e $HOME/development/terraform-providers/).

Clone repository to: $HOME/development/terraform-providers/

$ mkdir -p $HOME/development/terraform-providers/; cd $HOME/development/terraform-providers/
$ git clone git@github.com:terraform-providers/terraform-provider-okta
...

Enter the provider directory and run make tools. This will install the needed tools for the provider.

$ make tools

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

$ make build
...
$ $GOPATH/bin/terraform-provider-okta
...

Using the Provider

To use a released provider in your Terraform environment, run terraform init and Terraform will automatically install the provider. To specify a particular provider version when installing released providers, see the Terraform documentation on provider versioning.

To instead use a custom-built provider in your Terraform environment (e.g. the provider binary from the build instructions above), follow the instructions to install it as a plugin. After placing the custom-built provider into your plugins directory, run terraform init to initialize it.

For either installation method, documentation about the provider specific configuration options can be found on the provider's website.

Testing the Provider

In order to test the provider, you can 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. Please read Running an Acceptance Test in the contribution guidelines for more information on usage.

$ make testacc

Contributing

Terraform is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines: Contributing to Terraform - Okta Provider

Issues on GitHub are intended to be related to bugs or feature requests with provider codebase. See https://www.terraform.io/docs/extend/community/index.html for a list of community resources to ask questions about Terraform.