aws-rds 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16ecd0d223d71b7e91fa20b144a22313bda81df011baecc40bac52e8bc926920
4
- data.tar.gz: 37586608aebb1ea689da67b972df6820b1ce7d86d4821ac99b555509273bd0a1
3
+ metadata.gz: b1cc2d54119dcd95b2c9fb03197051035846442c9ca4e7436203076a112b1686
4
+ data.tar.gz: c64db50775c8374124698dd728927d1334e7fa372b153bfc067e6fa1b166077f
5
5
  SHA512:
6
- metadata.gz: 795d2625a798788841763c2389dae931e7bfd940138c62f94f065d05094df43157af003025577d2645aacd521fd8ec05db324ad33f948dd225a9b2dd762be25c
7
- data.tar.gz: df2ae5fcef01b1fdb012c06303a99b8b95085be3d30948f6ca9ebad4e0586daa260d312f7b8409098a5ea9265f95124350c810c51b417ecd87c34d88b696c3e8
6
+ metadata.gz: cffc7a7f694829c749e2bee6aac07b8961d5a5041b5287d4c7d8fd50d76e950f8fa01527487ccf9f9b55d7bf47676d6594d1e7b952d4b1703b245b8fced4399a
7
+ data.tar.gz: fe1240c028f158d1a7e4d479edd3c4c8c5b4c19d1108449ef21b5f09526d258f542244574ee149168e8780a345ef1d2ca9c0ea23136970a6acf0075ffae9dacd
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module AwsRds
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen