forked from okta/terraform-provider-okta
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic_updated.tf
More file actions
27 lines (24 loc) · 767 Bytes
/
Copy pathbasic_updated.tf
File metadata and controls
27 lines (24 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
data "okta_group" "all" {
name = "Everyone"
}
resource "okta_auth_server_policy_rule" "test" {
auth_server_id = okta_auth_server.test.id
policy_id = okta_auth_server_policy.test.id
status = "ACTIVE"
name = "test_updated"
priority = 1
group_whitelist = [data.okta_group.all.id]
grant_type_whitelist = ["password"]
}
resource "okta_auth_server" "test" {
name = "testAcc_replace_with_uuid"
description = "test"
audiences = ["whatever.rise.zone"]
}
resource "okta_auth_server_policy" "test" {
name = "test_updated"
description = "test updated"
priority = 1
client_whitelist = ["ALL_CLIENTS"]
auth_server_id = okta_auth_server.test.id
}