terraform/builtin
Brad Larson c5c2d27e25 Fix: Incorrect AWS Lambda Qualifier Regexp
Type of change:
===============
- Bug fix

What changed? ... and Why:
==========================
The regexp is currently set to:
`pattern := `^[a-zA-Z0-9$_]+$`

The AWS docs state that qualifer names must conform to the following
regexp:
`Pattern: (|[a-zA-Z0-9$_-]+)`

As you can see, the current regexp in Terraform is missing the `-` at
the end.

This addresses that.

How has it been tested?
=======================
Added a few test cases to the existing spec for `AwsLambdaQualifier`
validation.
2017-01-24 15:57:57 +00:00
..
bins Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
providers Fix: Incorrect AWS Lambda Qualifier Regexp 2017-01-24 15:57:57 +00:00
provisioners provisioner/remote-exec: fail on first inline script with bad exit code (#11155) 2017-01-20 14:04:43 +00:00