Input: Array of network ids [ "n-61rw8d", "n-pd05xr" ]
All the networks in the array will be shared between each other.
Network list will be translated to a map:
{
"n-61rw8d" = [
"n-pd05xr",
]
"n-pd05xr" = [
"n-61rw8d",
]
}
For each element of the map:
- Create a Network Share.
- Create an Network Endpoint for each of the network list for that element.
# Usage
module "network_sharing" {
source = "github.com/mcolomerc/terraform-confluent-network-share"
environment = var.confluent.environment.id
providers = {
confluent.confluent_cloud = confluent.confluent_cloud
}
confluent_cloud_network_ids = local.networks #`[ "n-61rw8d", "n-pd05xr" ]`
}
Name | Version |
---|---|
terraform | >= 1.3 |
confluent | >=1.51.0 |
No providers.
Name | Source | Version |
---|---|---|
sharing | ./modules/sharing | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
confluent_cloud_network_ids | Confluent Cloud Network IDs | list(string) |
n/a | yes |
environment | Confluent Cloud Environment ID | string |
n/a | yes |
Name | Description |
---|---|
network_share | n/a |