unoverse 0.1.201 → 0.1.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,7 +55,14 @@ locals {
|
|
|
55
55
|
s = local.sizes[var.size]
|
|
56
56
|
|
|
57
57
|
# Postgres modes (variables.tf): external URL > existing DO cluster > provision.
|
|
58
|
-
|
|
58
|
+
#
|
|
59
|
+
# `nonsensitive` on the TEST, never on the URL. `byo_postgres_url` is sensitive, and a
|
|
60
|
+
# mark rides every value derived from it, so `pg_external` and the `provision_pg` below
|
|
61
|
+
# were sensitive booleans. That reached `monthly_estimate` in prices.tf, and Terraform
|
|
62
|
+
# refuses a root output carrying a mark: the DO ground could not plan at all, whether or
|
|
63
|
+
# not a URL was set. WHETHER a database was brought is not the secret; the URL is, and it
|
|
64
|
+
# stays marked everywhere it is actually used.
|
|
65
|
+
pg_external = nonsensitive(var.byo_postgres_url != "")
|
|
59
66
|
pg_adopt = !local.pg_external && var.existing_pg_cluster_name != ""
|
|
60
67
|
provision_pg = !local.pg_external && !local.pg_adopt
|
|
61
68
|
pg_managed = local.pg_adopt || local.provision_pg # any DO-managed mode
|
package/package.json
CHANGED