convox_installer 3.1.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/README.md +2 -2
- data/lib/convox_installer/version.rb +1 -1
- data/terraform/elasticache.tf.erb +1 -8
- data/terraform/rds.tf.erb +2 -2
- metadata +3 -3
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/README.md
CHANGED
@@ -253,7 +253,7 @@ Adds an RDS database to your Terraform config.
|
|
253
253
|
- **Optional Config:**
|
254
254
|
- `database_allocated_storage` _(default: 30)_
|
255
255
|
- `database_engine` _(default: 'postgres')_
|
256
|
-
- `database_engine_version` _(default: '
|
256
|
+
- `database_engine_version` _(default: '15.7')_
|
257
257
|
- `database_instance_class` _(default: 'db.t3.small')_
|
258
258
|
- `database_multi_az` _(default: true)_
|
259
259
|
|
@@ -263,7 +263,7 @@ Adds an Elasticache cluster to your Terraform config.
|
|
263
263
|
|
264
264
|
- **Optional Config:**
|
265
265
|
- `engine` _(default: 'redis')_
|
266
|
-
- `engine_version` _(default: '
|
266
|
+
- `engine_version` _(default: '7.1')_
|
267
267
|
- `node_type` _(default: 'cache.t3.medium')_
|
268
268
|
- `num_cache_nodes` _(default: 1)_
|
269
269
|
- `port` _(default: 6379)_
|
@@ -1,20 +1,13 @@
|
|
1
1
|
resource "aws_elasticache_cluster" "elasticache_cluster" {
|
2
2
|
cluster_id = "<%= config.fetch(:stack_name) %>-elasticache-<%= config.fetch(:random_id) %>"
|
3
3
|
engine = "<%= config[:elasticache_engine] || 'redis' %>"
|
4
|
-
engine_version = "<%= config[:elasticache_engine_version] || '
|
4
|
+
engine_version = "<%= config[:elasticache_engine_version] || '7.1' %>"
|
5
5
|
node_type = "<%= config[:elasticache_node_type] || 'cache.t3.medium' %>"
|
6
6
|
num_cache_nodes = <%= config[:elasticache_num_cache_nodes] || 1 %>
|
7
7
|
port = <%= config[:elasticache_port] || 6379 %>
|
8
8
|
|
9
9
|
subnet_group_name = aws_elasticache_subnet_group.elasticache_subnet_group.name
|
10
10
|
security_group_ids = [aws_security_group.elasticache_security_group.id]
|
11
|
-
|
12
|
-
# Workaround for weird engine_version issue where 6.x works for creation, and fails for update
|
13
|
-
# See: https://github.com/hashicorp/terraform-provider-aws/issues/15625#issuecomment-727759811
|
14
|
-
# Fixed in version 3.38.0 of the Terraform AWS provider.
|
15
|
-
lifecycle {
|
16
|
-
ignore_changes = [engine_version]
|
17
|
-
}
|
18
11
|
}
|
19
12
|
|
20
13
|
resource "aws_elasticache_subnet_group" "elasticache_subnet_group" {
|
data/terraform/rds.tf.erb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
resource "aws_db_instance" "rds_database" {
|
2
2
|
allocated_storage = <%= config[:database_allocated_storage] || 30 %>
|
3
3
|
engine = "<%= config[:database_engine] || 'postgres' %>"
|
4
|
-
engine_version = "<%= config[:database_engine_version] || '
|
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) %>"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convox_installer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocSpring, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.
|
135
|
+
rubygems_version: 3.5.14
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Build a Convox installation workflow
|