mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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