Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.64 KB

File metadata and controls

53 lines (39 loc) · 1.64 KB

Module VPC Address Prefix

This module is used to create a VPC Address Prefix

Example Usage

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
}

Requirements

Name Version
terraform >= 1.9.0
ibm >= 1.64.0, <2.0.0

Modules

No modules.

Resources

Name Type
ibm_is_vpc_address_prefix.vpc_address_prefix resource

Inputs

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

Outputs

Name Description
vpc_address_prefix_id The ID of the vpc Address Prefix