@hiiretail/gcp-infra-generators 1.5.3 → 1.6.0
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.
- package/dist/generators/common-resources/cloudsql/templates/alloydb/instance/spec.hcl +7 -0
- package/dist/generators/common-resources/cloudsql/templates/alloydb/instance-secrets/terragrunt.hcl +4 -0
- package/dist/node_modules/.package-lock.json +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,13 @@ locals {
|
|
|
23
23
|
instance_id = "primary-instance"
|
|
24
24
|
machine_type = "n2-highmem-2"
|
|
25
25
|
machine_cpu_count = 2
|
|
26
|
+
|
|
27
|
+
#Description: Database flags configuration
|
|
28
|
+
#Reference: https://docs.cloud.google.com/alloydb/docs/reference/database-flags
|
|
29
|
+
#Type: Map
|
|
30
|
+
#database_flags = {
|
|
31
|
+
# max_connections = "100"
|
|
32
|
+
#}
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
###################
|
package/dist/generators/common-resources/cloudsql/templates/alloydb/instance-secrets/terragrunt.hcl
CHANGED
|
@@ -23,6 +23,9 @@ dependency "instance" {
|
|
|
23
23
|
config_path = "../instance"
|
|
24
24
|
mock_outputs = {
|
|
25
25
|
generated_user_password = "dummy-password"
|
|
26
|
+
primary_instance_id = "dummy-instance-id"
|
|
27
|
+
primary_instance_ip = "dummy-ip"
|
|
28
|
+
public_ip_address = "dummy-ip"
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
|
|
@@ -33,6 +36,7 @@ inputs = merge(
|
|
|
33
36
|
secrets = {
|
|
34
37
|
alloydb_primary_instance_id = dependency.instance.outputs.primary_instance_id
|
|
35
38
|
alloydb_primary_instance_ip = dependency.instance.outputs.primary_instance_ip
|
|
39
|
+
alloydb_public_ip_address = dependency.instance.outputs.public_ip_address
|
|
36
40
|
alloydb_master_password = dependency.instance.outputs.generated_user_password
|
|
37
41
|
}
|
|
38
42
|
labels = {
|
|
@@ -11522,7 +11522,7 @@
|
|
|
11522
11522
|
},
|
|
11523
11523
|
"packages/generators": {
|
|
11524
11524
|
"name": "@hiiretail/gcp-infra-generators",
|
|
11525
|
-
"version": "1.
|
|
11525
|
+
"version": "1.6.0",
|
|
11526
11526
|
"license": "MIT",
|
|
11527
11527
|
"dependencies": {
|
|
11528
11528
|
"@google-cloud/storage": "^7.18.0",
|
package/dist/package.json
CHANGED