vpc

cloud-native-toolkit/vpc/ibm

Terraform Module HCL IBM

Terraform module to provision vpc resources

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

IBM Cloud VPC module Provisions a VPC instance and related resources. The full list of resources provisioned is as follows: - VPC instance - VPC network acl - VPC security group rules - ping - icmp type 8 - public dns - 161.26.0.10 and 161.26.0.11 - private dns - 161.26.0.7 and 161.26.0.8 Software dependencies The module depends on the following software components: Command-line tools - terraform - v0.15 Terraform providers - IBM Cloud provider >= 1.51.0 Module dependencies - Resource group - github.com/cloud-native-toolkit/terraform-ibm-resource-group.git Example usage Refer test cases for more details ``hcl-terraform terraform { required_providers { ibm = { source = "ibm-cloud/ibm" } } required_version = ">= 0.13" } provider "ibm" { ibmcloud_api_key = var.ibmcloud_api_key region = var.re

Inputs (11)
NameTypeDescriptionDefault
resource_group_namestringThe name of the IBM Cloud resource group where the VPC instance will be created. required
regionstringThe IBM Cloud region where the cluster will be/has been installed. required
name_prefixstringThe name of the vpc resource""
provisionboolFlag indicating that the instance should be provisioned. If false then an existitrue
address_prefix_countnumberThe number of ipv4_cidr_blocks0
address_prefixeslist(string)List of ipv4 cidr blocks for the address prefixes (e.g. ['10.10.10.0/24']). If y[]
tagslist(string)Tags that should be added to the instance[]
namestringThe name of the vpc instance""
base_security_group_namestringThe name of the base security group. If not provided the name will be based on t""
internal_cidrstringThe cidr range of the internal network"10.0.0.0/8"
common_tagslist(string)Common tags that should be added to the instance[]
Outputs (9)
name — The name of the vpc instance
id — The id of the vpc instance
acl_id — The id of the network acl
addresses — The ip address ranges for the VPC
base_security_group — The id of the base security group to be shared by other resources. The base group is different from
crn — The CRN for the vpc instance
count — The number of VPCs created by this module. Always set to 1
names — The name of the vpc instance
ids — The id of the vpc instance
Resources (7)
ibm_is_network_acl_ruleibm_is_security_groupibm_is_security_group_ruleibm_is_vpcibm_is_vpc_address_prefixibm_resource_tagnull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.17.1
Cloud IBM
★ Stars0
Forks6
Total downloads3.4k
Inputs11
Outputs9
Resources7
LicenseApache-2.0
Namespacecloud-native-toolkit
Updated