Skip to content

mcolomerc/terraform-confluent-network-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confluent Network Sharing

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" ]`
}

Requirements

Name Version
terraform >= 1.3
confluent >=1.51.0

Providers

No providers.

Modules

Name Source Version
sharing ./modules/sharing n/a

Resources

No resources.

Inputs

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

Outputs

Name Description
network_share n/a

About

Manage Confluent network sharing

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages