Skip to content

Commit

Permalink
Update README to indicate Terraform 12 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
nayyara-cropsey authored Mar 3, 2020
1 parent 8e41c9c commit 32950b6
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

![CI](https://github.com/elastic/terraform-okta-aws/workflows/CI/badge.svg)

**NOTE**: This module uses Terraform 12 syntax. If you're using Terraform 11, see [Usage](#usage).

This repo contains Terraform modules for setting up/connecting AWS account(s) with an Okta AWS app. A Terraform module refers to a self-contained packages of Terraform configurations that are managed as a group.

Okta's integration with Amazon Web Services (AWS) allows end users to authenticate to one or more AWS accounts and gain access to specific roles using single sign-on with SAML.
Expand Down Expand Up @@ -29,8 +31,11 @@ This module follows semantic versioning.

# Usage

When using these modules in your own code, you will need to use a Git URL with a ref attribute that pins you to a specific version of the modules, such as the following example:

When using these modules in your own code, you will need to use a Git URL with a ref attribute that pins you to a specific
version of the modules, such as the following example:


***Terraform 11***:
```hcl-terraform
module "okta_master" {
source = "github.com/elastic/terraform-okta-aws.git/modules/master?ref=v0.1.1"
Expand All @@ -41,5 +46,17 @@ module "okta_child" {
}
```

***Terraform 12***:
```hcl-terraform
module "okta_master" {
source = "github.com/elastic/terraform-okta-aws.git/modules/master?ref=v1.0.0"
}
module "okta_child" {
source = "github.com/elastic/terraform-okta-aws.git/modules/child?ref=v1.0.0"
}
```


After completing the setup, AWS roles can be assumed from Okta:
<img width="500px" src="img/aws_login.png"/>

0 comments on commit 32950b6

Please # to comment.