iks-vpc

cloud-native-toolkit/iks-vpc/ibm

Terraform Module HCL IBM

Module to provision an IBM Cloud IKS cluster on VPC

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

IBM Cloud Kubernetes VPC cluster Provisions an IBM Cloud Kubernetes VPC cluster using a provided VPC instance. Software dependencies The module depends on the following software components: Command-line tools - terraform - v13 - kubectl Terraform providers - IBM Cloud provider >= 1.18 - Helm provider >= 1.1.1 (provided by Terraform) Module dependencies This module makes use of the output from other modules: - VPC - github.com/cloud-native-toolkit/terraform-ibm-vpc.git - Subnet - github.com/cloud-native-toolkit/terraform-ibm-vpc.git Example usage ``hcl-terraform module "cluster" { source = "github.com/cloud-native-toolkit/terraform-ibm-iks-vpc.git" resource_group_name = var.resource_group_name region = var.region ibmcloud_api_key = var.ibmcloud_api_key name = var.cluster_name worker_count =

Inputs (18)
NameTypeDescriptionDefault
vpc_subnetslist(object({ label = striList of subnets with labelsnull
kms_key_idstringThe id of the root key in the KMS instance that will be used to encrypt the clusnull
kms_private_endpointboolFlag indicating that the private endpoint should be used to connect the KMS systtrue
regionstringThe IBM Cloud region where the cluster will be/has been installed.null
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"
vpc_namestringName of the VPC instance that will be usednull
vpc_subnet_countnumberNumber of vpc subnetsnull
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
name_prefixstringThe prefix name for the service. If not provided it will default to the resource""
kms_enabledboolFlag indicating that kms encryption should be enabled for this clusterfalse
resource_group_namestringThe name of the IBM Cloud resource group where the cluster will be created/can bnull
ibmcloud_api_keystringThe IBM Cloud api tokennull
namestringThe name of the cluster that will be created within the resource group""
kms_idstringThe crn of the KMS instance that will be used to encrypt the cluster.null
loginboolFlag indicating that after the cluster is provisioned, the module should log intfalse
Outputs (7)
name — Name of the cluster.
resource_group_name — Name of the resource group containing the cluster.
region — Region containing the cluster.
config_file_path — Path to the config file for the cluster.
platform — Configuration values for the cluster platform
sync — Value used to sync downstream modules
id — ID of the cluster.
Resources (4)
ibm_container_vpc_clusteribm_container_vpc_worker_poolibm_is_security_group_rulenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud IBM
★ Stars1
Forks0
Total downloads114
Inputs18
Outputs7
Resources4
Namespacecloud-native-toolkit
Updated