ocp-vpc

cloud-native-toolkit/ocp-vpc/ibm

Terraform Module HCL IBM

Module to provision an openshift cluster on IBM Cloud

Install
module "ocp-vpc" {
source = "cloud-native-toolkit/ocp-vpc/ibm"
version = "1.16.3"
}
plain text: /constructs/tfmod-cloud-native-toolkit-ocp-vpc-ibm/install.txt
⭐ Source on GitHub 📦 Registry page
README

IBM Cloud OpenShift VPC cluster Provisions an IBM Cloud OpenShift VPC cluster using a provided VPC instance and COS instance. Note: This module follows the Terraform conventions regarding how provider configuration is defined within the Terraform template and passed into the module - https://www.terraform.io/docs/language/modules/develop/providers.html. The default provider configuration flows through to the module. If different configuration is required for a module, it can be explicitly passed in the providers block of the module - https://www.terraform.io/docs/language/modules/develop/providers.html#passing-providers-explicitly. Software dependencies The module depends on the following software components: Command-line tools - terraform - v13 - kubectl Terraform providers - IBM Cloud pr

Inputs (24)
NameTypeDescriptionDefault
ibmcloud_api_keystringThe IBM Cloud api token required
vpc_namestringName of the VPC instance that will be used required
resource_group_namestringThe name of the IBM Cloud resource group where the cluster will be created/can b required
cos_idstringThe crn of the COS instance that will be used with the OCP instance required
vpc_subnet_countnumberNumber of vpc subnets required
vpc_subnetslist(object({ label = striList of subnets with labels required
regionstringThe IBM Cloud region where the cluster will be/has been installed. required
common_tagslist(string)Common tags that should be added to the instance[]
ocp_versionstringThe version of the OpenShift cluster that should be provisioned (format 4.x)"4.10"
loginboolFlag indicating that after the cluster is provisioned, the module should log intfalse
name_prefixstringThe prefix name for the service. If not provided it will default to the resource""
kms_key_idstringThe id of the root key in the KMS instance that will be used to encrypt the clusnull
tagslist(string)Tags that should be added to the instance[]
kms_enabledboolFlag indicating that kms encryption should be enabled for this clusterfalse
kms_idstringThe crn of the KMS instance that will be used to encrypt the cluster.null
namestringThe name of the cluster that will be created within the resource group""
worker_countnumberThe number of worker nodes that should be provisioned for classic infrastructure3
flavorstringThe machine type that will be provisioned for classic infrastructure"bx2.4x16"
ocp_entitlementstringValue that is applied to the entitlements for OCP cluster provisioning"cloud_pak"
kms_private_endpointboolFlag indicating that the private endpoint should be used to connect the KMS systtrue
syncstringValue used to order dependencies""
existsboolFlag indicating if the cluster already exists (true or false)false
disable_public_endpointboolFlag indicating that the public endpoint should be disabledfalse
force_delete_storageboolAttribute to force the removal of persistent storage associtated with the clustefalse
Outputs (13)
workers — List of objects containing data for all workers
server_url — The url used to connect to the api server. If the cluster has public endpoints enabled this will be
username — The username of the admin user for the cluster
password — The password of the admin user for the cluster
region — Region containing the cluster.
platform — Configuration values for the cluster platform
resource_group_name — Name of the resource group containing the cluster.
config_file_path — Path to the config file for the cluster.
sync — Value used to sync downstream modules
total_worker_count — The total number of workers for the cluster. (subnets * number of workers)
token — The admin user token used to generate the cluster
id — ID of the cluster.
name — Name of the cluster.
Resources (4)
ibm_container_vpc_clusteribm_is_network_acl_ruleibm_is_security_group_rulenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.16.3
Cloud IBM
★ Stars2
Forks7
Total downloads2.8k
Inputs24
Outputs13
Resources4
LicenseApache-2.0
Namespacecloud-native-toolkit
Updated