This module is used to create a VPC Address Prefix
data "ibm_is_vpc" "vpc" {
name = var.vpc
}
module "vpc-address-prefix" {
source = "terraform-ibm-modules/vpc/ibm//modules/vpc-address-prefix"
name = var.name
vpc_id = data.ibm_is_vpc.vpc.id
location = var.location
ip_range = var.ip_range
}
| Name | Version |
|---|---|
| terraform | >= 1.9.0 |
| ibm | >= 1.64.0, <2.0.0 |
No modules.
| Name | Type |
|---|---|
| ibm_is_vpc_address_prefix.vpc_address_prefix | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| ip_range | The CIDR block for the address prefix | string |
n/a | yes |
| location | Address Prefix Zone | string |
n/a | yes |
| name | Name of the vpc Address Prefix | string |
n/a | yes |
| vpc_id | VPC ID | string |
n/a | yes |
| Name | Description |
|---|---|
| vpc_address_prefix_id | The ID of the vpc Address Prefix |