Skip to content

compute/azure_redhat_openshift

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azapi_resource.aro["azapi_resource.aro"] azurecaf_name.aro_cluster["azurecaf_name.aro_cluster"] azurecaf_name.aro_domain["azurecaf_name.aro_domain"] azurecaf_name.aro_res_rg["azurecaf_name.aro_res_rg"] data.azurerm_key_vault_secret.id["data.azurerm_key_vault_secret.id"] data.azurerm_key_vault_secret.password["data.azurerm_key_vault_secret.password"] data.azurerm_key_vault_secret.pull_secret["data.azurerm_key_vault_secret.pull_secret"] azapi_resource.aro --> azurecaf_name.aro_cluster

Module Reference

Category: compute
Path: modules/compute/azure_redhat_openshift
Azure Resources: azapi_resource, azurecaf_name

Inputs

Name Description Type Required Default Validation
"resource_group" "(Required) The resource id of the resource group in which to create the resource. Changing this forces a new resourc... string yes - -
"resource_group_name" any yes - -
"location" "(Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to ... string yes - -
"base_tags" any yes - -
"client_config" "Client configuration object (see module README.md)." any yes - -
"diagnostic_profiles" any yes - -
"combined_diagnostics" any yes - -
"combined_resources" "Provide a map of combined resources for environment_variables_from_resources" any no {} -
"global_settings" any yes - -
"settings" "OpenShift cluster settings, including existing profiles, optional identity and platform_workload_identity_profile, o... any yes - -
"dynamic_keyvault_secrets" "Provide credenrials for private image registries" any no {} -

Outputs

Name Description Sensitive Value
"name" "Specifies the name of the managed environment." - azapi_resource.aro.name
"id" "Specifies the resource id of the managed environment." - azapi_resource.aro.id
"identity" "Managed identity metadata for the OpenShift cluster." - azapi_resource.aro.identity
"api_server_profile" "API server endpoint and visibility returned by Azure." - try(azapi_resource.aro.output.properties.apiserverProfile, null)
"console_profile" "Console endpoint returned by Azure." - try(azapi_resource.aro.output.properties.consoleProfile, null)
"ingress_profiles" "Ingress endpoints and visibility returned by Azure." - try(azapi_resource.aro.output.properties.ingressProfiles, null)

Sources

  • modules/compute/azure_redhat_openshift/aro.tf
  • modules/compute/azure_redhat_openshift/data.tf
  • modules/compute/azure_redhat_openshift/locals.tf
  • modules/compute/azure_redhat_openshift/main.tf
  • modules/compute/azure_redhat_openshift/managed_identities.tf
  • modules/compute/azure_redhat_openshift/outputs.tf
  • modules/compute/azure_redhat_openshift/variables.tf