-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
37 lines (29 loc) · 907 Bytes
/
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
terraform {
required_version = ">= 1.5.0"
}
module "okta-workforce" {
source = "./okta-workforce"
org = var.okta_org
url = var.okta_url
key = var.okta_key
}
module "okta-privileged-access" {
source = "./okta-privileged-access"
key = var.opa_key
secret = var.opa_secret
team = var.opa_team
host = var.opa_host
k8s_group = var.opa_k8s_group
aws_eks = module.aws-infrastructure.aws_eks
}
module "aws-infrastructure" {
source = "./aws-infrastructure"
region = var.aws_region
gateway_instance_type = var.aws_gateway_instance_type
server_instance_type = var.aws_server_instance_type
linux_image_id = var.aws_linux_image_id
windows_image_id = var.aws_windows_image_id
okta_org = var.okta_org
opa_k8s = module.okta-privileged-access.opa_k8s
opa_enrollment = module.okta-privileged-access.opa_enrollment
}