{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9145","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9145/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9145/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9145/events","html_url":"https://github.com/hashicorp/terraform/issues/9145","id":180227940,"number":9145,"title":"AWS IAM roles with dots are unsupported","user":{"login":"dtbartle","id":4798107,"avatar_url":"https://avatars.githubusercontent.com/u/4798107?v=3","gravatar_id":"","url":"https://api.github.com/users/dtbartle","html_url":"https://github.com/dtbartle","followers_url":"https://api.github.com/users/dtbartle/followers","following_url":"https://api.github.com/users/dtbartle/following{/other_user}","gists_url":"https://api.github.com/users/dtbartle/gists{/gist_id}","starred_url":"https://api.github.com/users/dtbartle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtbartle/subscriptions","organizations_url":"https://api.github.com/users/dtbartle/orgs","repos_url":"https://api.github.com/users/dtbartle/repos","events_url":"https://api.github.com/users/dtbartle/events{/privacy}","received_events_url":"https://api.github.com/users/dtbartle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-30T06:12:47Z","updated_at":"2016-09-30T06:12:47Z","closed_at":null,"body":"### Terraform Version\r\nTerraform v0.7.5-dev (built from head)\r\n\r\n### Affected Resource(s)\r\nAWS IAM roles with dots (e.g. \"foo.bar\").\r\n\r\n### Terraform Configuration Files\r\n`{\"provider\":{\"aws\":{\"region\":\"us-west-1\"}},\"resource\":{\"aws_iam_role\": {\"foo.bar\": {\"name\": \"foo.bar\", \"assume_role_policy\": \"\"}}}}`\r\n\r\n### Debug Output\r\nhttps://gist.github.com/dtbartle/103a1b3d00f7b355b1e086650e8633bb\r\n\r\n### Expected Behavior\r\nDots in AWS IAM roles should be supported. Ideally any valid roles should be supported (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html), but dots are the only thing tripping me up. Unfortunately, I can't simply change my role names, so this is a hard blocker for my adoption of terraform.\r\n\r\n### Actual Behavior\r\n```\r\nErrors:\r\n\r\n  * aws_iam_role.foo.bar: foo.bar: resource name can only contain letters, numbers, dashes, and underscores.\r\n```\r\n\r\n### Steps to Reproduce\r\n`terraform plan`"}}
{"actor":{"display_login":"dtbartle"}}