Provide Azure Red Hat OpenShift (Managed service) ARM template.
resource "azurerm_resource_group" "test" {
name = "acctestRG1"
location = "East US"
}
resource "azurerm_openshift_cluster" "test" {
name = "acctestaro1"
location = "${azurerm_resource_group.test.location}"
resource_group_name = "${azurerm_resource_group.test.name}"
openshift_version = "v3.11"
network_profile {
vnet_cidr = "10.0.0.0/8"
}
master_pool_profile {
name = "master"
count = 3
vm_size = "Standard_D4s_v3"
os_type = "Linux"
subnet_cidr = "10.0.0.0/24"
}
agent_pool_profile {
name = "infra"
role = "infra"
count = 2
vm_size = "Standard_D4s_v3"
os_type = "Linux"
subnet_cidr = "10.0.0.0/24"
}
agent_pool_profile {
name = "compute"
role = "compute"
count = 4
vm_size = "Standard_D4s_v3"
os_type = "Linux"
subnet_cidr = "10.0.0.0/24"
}
router_profile {
name = "default"
}
auth_profile {
providers = [
{
name = "Azure AD"
provider = {
kind = "AADIdentityProvider"
client_id = "00000000-0000-0000-0000-000000000000"
client_secret = "00000000000000000000000000000000"
group_id = "00000000-0000-0000-0000-000000000000"
}
}
]
}
tags = {
environment = "Production"
}
}
@fernandoBRS what's the status of the WIP PR? Any updates?
Any updates on the WIP @fernandoBRS? Since the release of 4.3 yesterday this feature is a BIG want :)
I think the APIs are different enought that the new ARO (ocp 4.x) should be another resource
Man this would be amazing to have in the near future!!!
I need it! The closest approach is using a Deployment template but is not the same. This guy made a lot in this sense: https://github.com/aymenabdelwahed/ARO4-IaC
Most helpful comment
Man this would be amazing to have in the near future!!!