This Terraform sub-module manages the OpenID Connect (OIDC) provider and configuration for ROSA Classic clusters. It allows you to define and configure the OIDC provider settings necessary for authentication within the ROSA Classic cluster environment. With this module, you can easily set up OIDC integration tailored to your requirements, enabling seamless authentication and access control mechanisms for ROSA Classic clusters.
For more information, see OpenID Connect Overview in the ROSA documentation.
module "oidc_config_and_provider" {
source = "terraform-redhat/rosa-classic/rhcs/modules/oidc-config-and-provider"
managed = true
}
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.0 |
null | >= 3.0.0 |
rhcs | >= 1.6.2 |
time | >= 0.9 |
Name | Version |
---|---|
aws | >= 4.0 |
null | >= 3.0.0 |
rhcs | >= 1.6.2 |
time | >= 0.9 |
Name | Source | Version |
---|---|---|
aws_s3_bucket | terraform-aws-modules/s3-bucket/aws | >=4.1.0 |
aws_secrets_manager | terraform-aws-modules/secrets-manager/aws | >=1.1.1 |
Name | Type |
---|---|
aws_iam_openid_connect_provider.oidc_provider | resource |
aws_s3_object.discrover_doc_object | resource |
aws_s3_object.s3_object | resource |
null_resource.unmanaged_vars_validation | resource |
rhcs_rosa_oidc_config.oidc_config | resource |
rhcs_rosa_oidc_config_input.oidc_input | resource |
time_sleep.wait_10_seconds | resource |
aws_iam_policy_document.allow_access_from_another_account | data source |
aws_partition.current | data source |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
installer_role_arn | The Amazon Resource Name (ARN) associated with the AWS IAM role used by the ROSA installer. Applicable exclusively to unmanaged OIDC; otherwise, leave empty. | string |
null |
no |
managed | Indicates whether it is a Red Hat managed or unmanaged (customer hosted) OIDC Configuration | bool |
true |
no |
tags | List of AWS resource tags to apply. | map(string) |
null |
no |
Name | Description |
---|---|
oidc_config_id | The unique identifier associated with users authenticated through OpenID Connect (OIDC) generated by this OIDC config. |
oidc_endpoint_url | Registered OIDC configuration issuer URL, generated by this OIDC config. |