-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tf
64 lines (52 loc) · 1.1 KB
/
main.tf
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# #https://github.com/mscribellito/terraform-aws-okta-sso/tree/main
# okta app
import {
id = "0oa601ey48N2X0VNK0x7"
to = okta_app_saml.sso
}
import {
id = "0oa60ylb4nJRb97x30x7"
to = okta_app_oauth.sso_cli
}
import {
to = okta_app_oauth_api_scope.sso_cli
id = "0oa60ylb4nJRb97x30x7"
}
import {
id = "arn:aws:iam::521296171486:saml-provider/aws-sso-okta-test"
to = aws_iam_saml_provider.sso
}
# okta app settings
import {
id = "0oa601ey48N2X0VNK0x7"
to = okta_app_saml_app_settings.sso
}
# iam role
import {
id = "aws-okta-sso-test"
to = aws_iam_role.sso
}
# iam policy
import {
id = "arn:aws:iam::521296171486:policy/sso-readonly-nonprod-other-policy"
to = aws_iam_policy.sso_iam_policy
}
#okta group
import {
id = "00g601pc23ObYIMuy0x7"
to = okta_group.sso
}
# okta app assignment
import {
id = "0oa601ey48N2X0VNK0x7/00g601pc23ObYIMuy0x7"
to = okta_app_group_assignment.sso
}
# okta app assignment oidc app
import {
id = "0oa60ylb4nJRb97x30x7/00g601pc23ObYIMuy0x7"
to = okta_app_group_assignment.sso_cli
}
import {
id = "00u5ez4uv5N0Yliqd0x7"
to = okta_user.sso
}