make rds handle vpc security groups properly
This commit is contained in:
parent
dc5ffb688c
commit
137a32ca36
1 changed files with 4 additions and 1 deletions
|
@ -438,7 +438,10 @@ def main():
|
|||
params["iops"] = iops
|
||||
|
||||
if security_groups:
|
||||
params["security_groups"] = security_groups.split(',')
|
||||
if subnet:
|
||||
params["vpc_security_groups"] = security_groups.split(',')
|
||||
else:
|
||||
params["security_groups"] = security_groups.split(',')
|
||||
|
||||
try:
|
||||
if command == 'create':
|
||||
|
|
Loading…
Reference in a new issue