terraform/builtin
Jake Champlin 8b66d137d1
provider/aws: Import aws_alb_listener_rule fix
Allows the user to import a default aws_alb_listener_rule. When creating the resource with TF, the AWS API requires that `priority` be an integer.
However, the `DescribeRules` API call returns a string for `priority`. This would work in every case except for the `default` listener rule, which sets the `priority` value to the string "default".

This fixes the previous error:
```
Error importing: 1 error(s) occurred:

* aws_alb_listener_rule.test: Cannot convert rule priority %q to int: strconv.ParseInt: parsing "default": invalid syntax
```

Fixes: #11464
2017-01-27 14:55:34 -05:00
..
bins Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
providers provider/aws: Import aws_alb_listener_rule fix 2017-01-27 14:55:34 -05:00
provisioners provisioner/remote-exec: fail on first inline script with bad exit code (#11155) 2017-01-20 14:04:43 +00:00