You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elb_application_lb requires the security_groups option when state=present as explained in the docs (although it also says that the default is [] which seems useless since it won't accept the option being omitted).
When creating a new ALB and supplying security_groups: [] explicitly, the ALB is created successfully with the VPC default SG.
Running the same task again will fail with the error that the security_groups option is missing,
I'm not sure if this is reproducible outside of a VPC since I'm not sure there is such a thing as a default SG in that case.
(an acceptable result might also be that the first run fails with an invalid option value, but that does preclude the possibility of using a "default" SG)
ACTUAL RESULTS
Second run fails.
fatal: [localhost]: FAILED! => {"changed": false, "msg": "state is present but all of the following are missing: security_groups"}
The text was updated successfully, but these errors were encountered:
SUMMARY
elb_application_lb
requires thesecurity_groups
option whenstate=present
as explained in the docs (although it also says that the default is[]
which seems useless since it won't accept the option being omitted).When creating a new ALB and supplying
security_groups: []
explicitly, the ALB is created successfully with the VPC default SG.Running the same task again will fail with the error that the
security_groups
option is missing,I'm not sure if this is reproducible outside of a VPC since I'm not sure there is such a thing as a default SG in that case.
ISSUE TYPE
COMPONENT NAME
elb_application_lb
ANSIBLE VERSION
2.9.6
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ALB is created, then second run is
ok
.(an acceptable result might also be that the first run fails with an invalid option value, but that does preclude the possibility of using a "default" SG)
ACTUAL RESULTS
Second run fails.
The text was updated successfully, but these errors were encountered: