Hey there!
I'm writing new AWS resources for the API Gateway for terraform. But I'm running into a problem which does not make sense to me.
The resource definition compiles & I can interact with the AWS API, but there's a parameter that needs to be of type `schema.TypeMap` and
I only get the keys, not the values.
My resource definition looks like this:
```
func resourceAwsApiGatewayMethod() *schema.Resource {
// snip …
"parameters": &schema.Schema{
Type: schema.TypeMap,
Optional: true,
ForceNew: true,
},
}
```
To my understanding, given a terraform script like this:
```
resource "aws_api_gateway_method" "users-get" {
parameters {
integration.request.header.host = "value"
}
}
```
should result in a map if one key: `integration.request.header.host`, and one value, `value`. However, I get a map with the correct key, and an empty string as value.
Now - why is that? I've taken a look at the existing resources, but they seem to operate just like my new resource and work properly.
--
Raphael