This repository was archived by the owner on May 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 26
26
| certificate\_ authority | The certificate-authority-data for your cluster |
27
27
| endpoint | The endpoint for your Kubernetes API server |
28
28
| name | The name of the cluster |
29
+ | open\_ id\_ connect\_ provider\_ arn | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider |
30
+ | open\_ id\_ connect\_ provider\_ issuer | The issuer for OIDC Provider |
29
31
| subnet\_ ids | The subnets associated with your cluster |
30
32
| vpc\_ id | The VPC associated with your cluster |
31
33
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ No provider.
21
21
| certificate\_ authority | The certificate-authority-data for your cluster |
22
22
| endpoint | The endpoint for your Kubernetes API server |
23
23
| name | The name of the cluster |
24
+ | open\_ id\_ connect\_ provider\_ arn | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider |
25
+ | open\_ id\_ connect\_ provider\_ issuer | The issuer for OIDC Provider |
24
26
| subnet\_ ids | The subnets associated with your cluster |
25
27
| vpc\_ id | The VPC associated with your cluster |
26
28
Original file line number Diff line number Diff line change @@ -18,6 +18,16 @@ output "name" {
18
18
value = module. cluster . name
19
19
}
20
20
21
+ output "open_id_connect_provider_arn" {
22
+ description = " The Amazon Resource Name (ARN) of the IAM OpenID Connect provider"
23
+ value = module. cluster . open_id_connect_provider_arn
24
+ }
25
+
26
+ output "open_id_connect_provider_issuer" {
27
+ description = " The issuer for OIDC Provider"
28
+ value = module. cluster . open_id_connect_provider_issuer
29
+ }
30
+
21
31
output "subnet_ids" {
22
32
description = " The subnets associated with your cluster"
23
33
value = module. cluster . subnet_ids
Original file line number Diff line number Diff line change @@ -18,6 +18,21 @@ output "name" {
18
18
value = data. aws_eks_cluster . this . name
19
19
}
20
20
21
+ output "open_id_connect_provider_arn" {
22
+ description = " The Amazon Resource Name (ARN) of the IAM OpenID Connect provider"
23
+
24
+ value = format (
25
+ " arn:aws:iam::%s:oidc-provider/%s" ,
26
+ data. aws_caller_identity . this . account_id ,
27
+ replace (local. open_id_connect_provider_issuer , " https://" , " " )
28
+ )
29
+ }
30
+
31
+ output "open_id_connect_provider_issuer" {
32
+ description = " The issuer for OIDC Provider"
33
+ value = local. open_id_connect_provider_issuer
34
+ }
35
+
21
36
output "subnet_ids" {
22
37
description = " The subnets associated with your cluster"
23
38
value = data. aws_eks_cluster . this . vpc_config [0 ]. subnet_ids
You can’t perform that action at this time.
0 commit comments