aro-terraform
Example code to support our Deconstructing Azure Red Hat OpenShift Deployment blog.
- Ensure Azure CLI is installed and up-to-date;
- Perform
az login
prior to executing Terraform code (or set environment variables to support theazurerm
provider); - If using CLI context, ensure you have targeted the correct subscription using
az account set --subscription <sub>
prior to execution.
Name | Version |
---|---|
terraform | >= 1.0.0 |
azuread | >= 2.6.0 |
azurerm | >= 2.75.0 |
random | >= 3.1.0 |
Name | Version |
---|---|
azuread | 2.8.0 |
azurerm | 2.84.0 |
random | 3.1.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aro_properties | Deployment properties for the ARO cluster. | object({ |
{} |
no |
domain_name | The private DNS zone used for private ARO cluster names. | string |
"" |
no |
environment | Environment identifier used in resource naming convention. | string |
"dev" |
no |
location | Azure region for resource creation. | string |
"UK South" |
no |
network | Parameters used in consruction of the ARO network resources. | object({ |
{ |
no |
pull_secret_file | Red Hat pull secret file for the ARO cluster. | string |
"" |
no |
tags | A mapping of tags to assign to the resources. | map(string) |
{ |
no |
Name | Description |
---|---|
api_address | IPv4 address of the ARO API server |
api_server_url | The URL for the ARO API server |
aro_password | The administrative password for ARO |
aro_username | The administrative user account for ARO |
ingress_address | IPv4 address of the default ARO ingress route |
web_console_url | The URL for the ARO web console |
Name | Type |
---|---|
azuread_application.aro | resource |
azuread_application_password.aro | resource |
azuread_service_principal.aro | resource |
azurerm_resource_group.aro | resource |
azurerm_resource_group.net | resource |
azurerm_role_assignment.cluster_aro_vnet | resource |
azurerm_role_assignment.rp_aro_vnet | resource |
azurerm_subnet.master | resource |
azurerm_subnet.worker | resource |
azurerm_virtual_network.aro | resource |
random_string.id | resource |
azuread_service_principal.aro_rp | data source |
Name | Source | Version |
---|---|---|
aro | ./modules/module_aro_arm | n/a |