❤️ Terraform
Okta Simple demos showcasing Okta and Terraform implementation. The intended audience for this repo are for practitioners who are new to Terraform
but familiar with Okta. Please review this introduction on Terraform and of course more info on Okta.
Table of Contents
Pre Req
Quick Start
NOTE: This walk-through was developed on version Terraform v0.14, any other version of Terraform and your mileage will vary
Tools
Validate install:
# Show version
$ terraform version
ie.
Terraform v0.14.x
...
# List help details
$ terraform help
Setup Steps for Each Demo
Setup a developer Okta Org and create a API Token.
- Setup developer Okta Org at developer.okta.com.
- Activate your Okta Org and then go to the Dashboard.
- On the Dashboard screen, navigate
API
menu and selectTokens
. - On the API screen, click
Create Token
and name your API Token. - Copy and store the generated token so you can use this
backend.config
file later. - Make note of your Okta Org url. (ie.
dev-302083.okta.com
) you need this later too.
Example Demos
- Simple Demo - Very simple provisioning of Okta Org.
- Output File Demo - Show case generating environment variable (*.env) for your application that is tied to your Okta Org.
- Multi Environment Demo - Show case how to use
terraform workspace
to management multiple Okta Orgs. (i.e. Development, Staging, Pre-Production and Production). For this demo please repeat Setup Steps for Each Demo to represent the different environments.
Issues/Bugs or Features
Please submit Issues/Bugs/Features using GitHub Issues page and clicking on New issue
button.
More information
-
Okta
-
Terraform
-
Other tools
-
Additional Articles and Blogs