aws-rds 0.2.0 → 0.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/aws_rds/create/params.rb +3 -0
- data/lib/aws_rds/version.rb +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: b1cc2d54119dcd95b2c9fb03197051035846442c9ca4e7436203076a112b1686
|
4
|
+
data.tar.gz: c64db50775c8374124698dd728927d1334e7fa372b153bfc067e6fa1b166077f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cffc7a7f694829c749e2bee6aac07b8961d5a5041b5287d4c7d8fd50d76e950f8fa01527487ccf9f9b55d7bf47676d6594d1e7b952d4b1703b245b8fced4399a
|
7
|
+
data.tar.gz: fe1240c028f158d1a7e4d479edd3c4c8c5b4c19d1108449ef21b5f09526d258f542244574ee149168e8780a345ef1d2ca9c0ea23136970a6acf0075ffae9dacd
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.3.0]
|
7
|
+
- dont auto create security group when specified in the profile
|
8
|
+
|
6
9
|
## [0.2.0]
|
7
10
|
- allow erb usage in profiles, can reference config values
|
8
11
|
- rework profile and params to classes. profile no longer merged
|
@@ -26,6 +26,9 @@ class AwsRds::Create
|
|
26
26
|
return params unless @options[:security_group]
|
27
27
|
return params if @options[:noop]
|
28
28
|
|
29
|
+
# return early and dont auto-create SG if user has set one
|
30
|
+
return params if params['vpc_security_group_ids']
|
31
|
+
|
29
32
|
security_group_name = @options[:security_group_name] || @options[:name]
|
30
33
|
sg = AwsRds::SecurityGroup.find_or_create(security_group_name)
|
31
34
|
params['vpc_security_group_ids'] ||= [sg.group_id]
|
data/lib/aws_rds/version.rb
CHANGED