We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bdbf1b + a7af7bc commit 023fd70Copy full SHA for 023fd70
locals.tf
@@ -42,6 +42,8 @@ locals {
42
settings = {}
43
acls = []
44
dbs = []
45
+
46
+ private_network = {}
47
}
48
databases = {
49
for database_name, config in var.databases :
main.tf
@@ -20,4 +20,13 @@ resource "scaleway_rdb_instance" "this" {
20
project_id = lookup(each.value, "project_id", null)
21
22
tags = lookup(each.value, "tags", [])
23
24
+ dynamic "private_network" {
25
+ for_each = lookup(each.value, "private_network", {}) != {} ? [1] : []
26
27
+ content {
28
+ ip_net = lookup(each.value.private_networking, "ip_net", null)
29
+ pn_id = lookup(each.value.private_networking, "pn_id", null)
30
+ }
31
32
0 commit comments