convox_installer 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/convox_installer/version.rb +1 -1
- data/terraform/rds.tf.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 000faacde1c2ab85d494973a48b60ce4131cd0dd5329a14a0c32432a460d1e2e
|
4
|
+
data.tar.gz: 29ff2b474ccd15e226d181c80cae38dd28c98d2cb70aed3c64815f6cf5c8242b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed0e118448e716040ab5ae276fbc6ef94fca25f5b40853bf29682e1982760db53278ffae4f962f7ca8c79d2f7f80c77fefc2d62e3c3a14cee486aa635740383
|
7
|
+
data.tar.gz: 74f307ee1cf10aac9baa19d8b311b43f05685d0aa1fa1ca951f37a87f63675ec04d6c467993359d66e3f0878814ab15832d7d26b8a0ab28df86d2b3c07a40ed9
|
data/terraform/rds.tf.erb
CHANGED
@@ -3,7 +3,7 @@ resource "aws_db_instance" "rds_database" {
|
|
3
3
|
engine = "<%= config[:database_engine] || 'postgres' %>"
|
4
4
|
engine_version = "<%= config[:database_engine_version] || '15.7' %>"
|
5
5
|
instance_class = "<%= config[:database_instance_class] || 'db.t3.small' %>"
|
6
|
-
|
6
|
+
db_name = "<%= config.fetch(:stack_name).gsub('-', '_') %>_database"
|
7
7
|
identifier = "<%= config.fetch(:stack_name) %>-rds-<%= config.fetch(:random_id) %>"
|
8
8
|
multi_az = <%= config[:database_multi_az] || true %>
|
9
9
|
username = "<%= config.fetch(:database_username) %>"
|