{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9246","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9246/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9246/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9246/events","html_url":"https://github.com/hashicorp/terraform/issues/9246","id":181277279,"number":9246,"title":"AWS Elasticache parameter group only works for 1 region","user":{"login":"dmikalova","id":324548,"avatar_url":"https://avatars.githubusercontent.com/u/324548?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikalova","html_url":"https://github.com/dmikalova","followers_url":"https://api.github.com/users/dmikalova/followers","following_url":"https://api.github.com/users/dmikalova/following{/other_user}","gists_url":"https://api.github.com/users/dmikalova/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikalova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikalova/subscriptions","organizations_url":"https://api.github.com/users/dmikalova/orgs","repos_url":"https://api.github.com/users/dmikalova/repos","events_url":"https://api.github.com/users/dmikalova/events{/privacy}","received_events_url":"https://api.github.com/users/dmikalova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T22:01:36Z","updated_at":"2016-10-05T22:01:36Z","closed_at":null,"body":"### Terraform Version\r\n0.7.4\r\n\r\n### Affected Resource(s)\r\naws_elasticache_parameter_group\r\n\r\n### Terraform Configuration Files\r\nAny default parameter group will work. Notice that there's no option for setting a region or availability zone like other elasticache resources.\r\n```hcl\r\nresource \"aws_elasticache_parameter_group\" \"default\" {\r\n    name = \"cache-params\"\r\n    family = \"redis2.8\"\r\n\r\n    parameter {\r\n        name = \"activerehashing\"\r\n        value = \"yes\"\r\n    }\r\n\r\n    parameter {\r\n        name = \"min-slaves-to-write\"\r\n        value = \"2\"\r\n    }\r\n}```\r\n\r\n### Expected Behavior\r\nYou should be able to specify the region for a parameter group to be created in.\r\n\r\n### Actual Behavior\r\nTerraform defaults to the AWS provider's default region, with no ability to create parameter groups in other regions. I think this may have been overlooked because the [AWS documentation](http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ParameterGroups.Creating.html) does not mention regions.\r\n\r\n### Important Factoids\r\nThis works fine with the AWS CLI or console across regions.\r\n`aws elasticache describe-cache-parameter-groups --region us-west-1`"}}
{"actor":{"display_login":"dmikalova"}}