-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…220) * chore: bump `tfproviderlint` library to latest * chore: upgrade travis configs to bionic (ubuntu 14.x -> 18.x), and go 1.15.x * chore: upgrade `terraform-plugin-sdk` to v2 * chore: fix linting errors * Updated dependencies, fixed unit tests * Merged with master * Fixed imports * Major refactoring, documentation fixes, logs adding * Fixed lint * Added logs * Fixed tests resources naming format * Changed log output * fix: run `go mod tidy` * Added inline hooks sweeper Co-authored-by: Bogdan Prodan <bogdan.prodan@okta.com>
- Loading branch information
1 parent
03a43be
commit 84b1f77
Showing
189 changed files
with
4,357 additions
and
5,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
dist: trusty | ||
dist: bionic | ||
sudo: required | ||
services: | ||
- docker | ||
- docker | ||
language: go | ||
|
||
env: | ||
- GOFLAGS=-mod=vendor | ||
|
||
install: | ||
- make build | ||
- make tools | ||
- make build | ||
- make tools | ||
|
||
branches: | ||
only: | ||
- master | ||
- master | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- go: tip | ||
- go: tip | ||
include: | ||
- go: "1.13.x" | ||
name: "Code Lint" | ||
script: make lint | ||
- go: "1.13.x" | ||
name: "Code Vet" | ||
script: make vet | ||
- go: "1.13.x" | ||
name: "Code UnitTest" | ||
script: make test | ||
- go: '1.15.x' | ||
name: 'Code Lint' | ||
script: make lint | ||
- go: '1.15.x' | ||
name: 'Code Vet' | ||
script: make vet | ||
- go: '1.15.x' | ||
name: 'Code UnitTest' | ||
script: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
resource okta_group test { | ||
name = "testAcc_replace_with_uuid" | ||
resource "okta_group" "test" { | ||
name = "testAcc" | ||
description = "testing, testing" | ||
users = [okta_user.test.id] | ||
} | ||
|
||
resource okta_user test { | ||
resource "okta_user" "test" { | ||
first_name = "TestAcc" | ||
last_name = "Jones" | ||
login = "john_replace_with_uuid@ledzeppelin.com" | ||
email = "john_replace_with_uuid@ledzeppelin.com" | ||
} | ||
|
||
data okta_group test { | ||
data "okta_group" "test" { | ||
include_users = true | ||
name = okta_group.test.name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
resource "okta_group" "test" { | ||
name = "testAcc" | ||
description = "testing, testing" | ||
users = [okta_user.test.id] | ||
} | ||
|
||
resource "okta_user" "test" { | ||
first_name = "TestAcc" | ||
last_name = "Jones" | ||
login = "john_replace_with_uuid@ledzeppelin.com" | ||
email = "john_replace_with_uuid@ledzeppelin.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
resource "okta_trusted_origin" "testAcc_replace_with_uuid" { | ||
name = "test-acc-replace_with_uuid" | ||
name = "testAcc-replace_with_uuid" | ||
origin = "https://example-replace_with_uuid.com" | ||
scopes = ["CORS"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
resource "okta_user" "test" { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "test-acc-replace_with_uuid@example.com" | ||
email = "test-acc-replace_with_uuid@example.com" | ||
login = "testAcc-replace_with_uuid@example.com" | ||
email = "testAcc-replace_with_uuid@example.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
resource okta_user test { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "test-acc-replace_with_uuid@example.com" | ||
email = "test-acc-replace_with_uuid@example.com" | ||
login = "testAcc-replace_with_uuid@example.com" | ||
email = "testAcc-replace_with_uuid@example.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
resource "okta_user" "test" { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "test-acc-replace_with_uuid@example.com" | ||
email = "test-acc-replace_with_uuid@example.com" | ||
login = "testAcc-replace_with_uuid@example.com" | ||
email = "testAcc-replace_with_uuid@example.com" | ||
status = "DEPROVISIONED" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
resource okta_user test { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "test-acc-replace_with_uuid@example.com" | ||
email = "test-acc-replace_with_uuid@example.com" | ||
login = "testAcc-replace_with_uuid@example.com" | ||
email = "testAcc-replace_with_uuid@example.com" | ||
} |
Oops, something went wrong.