terraform/builtin
Christopher Tiwald 89bacc0b15 aws: error on expndIPPerms(...) if our ports and protocol conflict.
Ingress and egress rules given a "-1" protocol don't have ports when
Read out of AWS. This results in hashing problems, as a local
config file might contain port declarations AWS can't ever return.

Rather than making ports optional fields, which carries with it a huge
headache trying to distinguish between zero-value attributes (e.g.
'to_port = 0') and attributes that are simply omitted, simply force the
user to opt-in when using the "-1" protocol. If they choose to use it,
they must now specify "0" for both to_port and from_port. Any other
configuration will error.
2015-05-04 23:43:31 -04:00
..
bins Merge pull request #1185 from hashicorp/f-remote-resource 2015-04-01 22:50:30 -07:00
providers aws: error on expndIPPerms(...) if our ports and protocol conflict. 2015-05-04 23:43:31 -04:00
provisioners Updated the PR according to the review comments 2015-05-01 18:52:01 +02:00