This module is used to create a Floating IP
data "ibm_resource_group" "resource_group" {
name = (var.resource_group != null ? var.resource_group : "default")
}
module "fip" {
source = "terraform-ibm-modules/vpc/ibm//modules/floatingIP"
name = var.name
resource_group_id = data.ibm_resource_group.resource_group.id
location = var.location
target = var.target
tags = var.tags
}
| Name | Version |
|---|---|
| terraform | >= 1.9.0 |
| ibm | >= 1.64.0, <2.0.0 |
No modules.
| Name | Type |
|---|---|
| ibm_is_floating_ip.fip | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| location | Floating IP Zone | string |
n/a | yes |
| name | Name of the Floating IP | string |
n/a | yes |
| resource_group_id | Resource group ID | string |
null |
no |
| tags | List of Tags for the Floating IP | list(string) |
null |
no |
| target | Target Interface ID for this Floating IP | string |
null |
no |
| Name | Description |
|---|---|
| floating_ip_id | The ID of the Floating IP |