nixops-aws
nixops-aws copied to clipboard
--check re-deployment of an AWS security group with a port wildcard (1-65535) grant fails due to None being fed to int()
When --check mode is used to _re_deploy a EC2 Security Group with has a port wildcard grant (1-65535) fails, because boto returns (None, None) as the port range.
Sadly, I no longer have the logs to prove this, but the relevant piece of code is this:
- https://github.com/NixOS/nixops/blob/master/nixops/resources/ec2_security_group.py#L129
cc @domenkozar
@deepfire which gets me thinking, does Amazon provide some sort of UID that we could rely on instead of diffing values?