page_title | subcategory | description |
---|---|---|
maas_subnet_ip_range Resource - terraform-provider-maas |
Provides a resource to manage MAAS network subnets IP ranges. |
Provides a resource to manage MAAS network subnets IP ranges.
resource "maas_subnet_ip_range" "dynamic_ip_range" {
subnet = maas_subnet.tf_subnet_2.id
type = "dynamic"
start_ip = "10.77.77.2"
end_ip = "10.77.77.60"
}
resource "maas_subnet_ip_range" "reserved_ip_range" {
subnet = maas_subnet.tf_subnet_2.id
type = "reserved"
start_ip = "10.77.77.200"
end_ip = "10.77.77.254"
comment = "Reserved for Static IPs"
}
end_ip
(String) The end IP for the new IP range (inclusive).start_ip
(String) The start IP for the new IP range (inclusive).subnet
(String) The subnet identifier (ID or CIDR) for the new IP range.type
(String) The IP range type. Valid options are:dynamic
,reserved
.
comment
(String) A description of this range. This argument is computed if it's not set.
id
(String) The ID of this resource.
Import is supported using the following syntax:
# IP ranges can be imported with the start IP and the end IP. e.g.
$ terraform import maas_subnet_ip_range.dynamic_ip_range 10.77.77.2:10.77.77.60