diff options
author | Will Thames <will@thames.id.au> | 2017-12-08 06:17:45 +1000 |
---|---|---|
committer | Sloane Hertel <shertel@redhat.com> | 2017-12-07 15:17:45 -0500 |
commit | d13d7e94043564049318b904cbc2bd7ea1a137b4 (patch) | |
tree | 67841488e601b319c4b43613972c35a1737b9dbc /lib/ansible/modules/cloud/docker/docker_image_facts.py | |
parent | 55cd1f337704a1a9e12f1534762dfaac32ea74c9 (diff) | |
download | ansible-d13d7e94043564049318b904cbc2bd7ea1a137b4.tar.gz |
Fail when attempting to modify unmodifiable target group parameters (#33246)
* Fail when attempting to modify unmodifiable target group parameters
As you can't modify Port, Protocol or VPC id for a target group, fail
when this happens rather than pretending to do it.
One could argue that the target group could be recreated rather than
failing, but this has massive knock on implications to other resources
that depend on the TG (all ASGs would need to be updated, the ELB
listener would need to be updated, etc)
* Use `.get()` instead of direct dictionary access
Diffstat (limited to 'lib/ansible/modules/cloud/docker/docker_image_facts.py')
0 files changed, 0 insertions, 0 deletions