payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/literalice/terraform-aws-openshift/issues/21","repository_url":"https://api.github.com/repos/literalice/terraform-aws-openshift","labels_url":"https://api.github.com/repos/literalice/terraform-aws-openshift/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/literalice/terraform-aws-openshift/issues/21/comments","events_url":"https://api.github.com/repos/literalice/terraform-aws-openshift/issues/21/events","html_url":"https://github.com/literalice/terraform-aws-openshift/issues/21","id":408205012,"node_id":"MDU6SXNzdWU0MDgyMDUwMTI=","number":21,"title":"Selection of the AWS provider should probably be explicit.","user":{"login":"joshua-rutherford","id":5482080,"node_id":"MDQ6VXNlcjU0ODIwODA=","avatar_url":"https://avatars3.githubusercontent.com/u/5482080?v=4","gravatar_id":"","url":"https://api.github.com/users/joshua-rutherford","html_url":"https://github.com/joshua-rutherford","followers_url":"https://api.github.com/users/joshua-rutherford/followers","following_url":"https://api.github.com/users/joshua-rutherford/following{/other_user}","gists_url":"https://api.github.com/users/joshua-rutherford/gists{/gist_id}","starred_url":"https://api.github.com/users/joshua-rutherford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshua-rutherford/subscriptions","organizations_url":"https://api.github.com/users/joshua-rutherford/orgs","repos_url":"https://api.github.com/users/joshua-rutherford/repos","events_url":"https://api.github.com/users/joshua-rutherford/events{/privacy}","received_events_url":"https://api.github.com/users/joshua-rutherford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-08T15:38:34Z","updated_at":"2019-02-08T15:38:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If I am using this as a module to standup and maintain multiple clusters in AWS I may very well want those in different regions for a number of reasons.  I currently accomplish this as follows:\r\n\r\n```\r\nprovider \"aws\" {\r\n  alias   = \"use1\"\r\n  region  = \"us-east-1\"\r\n  version = \"~> 1.54\"\r\n}\r\n\r\nprovider \"aws\" {\r\n  alias   = \"usw1\"\r\n  region  = \"us-west-1\"\r\n  version = \"~> 1.54\"\r\n}\r\n\r\nmodule \"openshift-east\" {\r\n\r\n  source = \"github.com/literalice/terraform-aws-openshift\"\r\n\r\n  providers = {\r\n    \"aws\" = \"aws.use1\"\r\n  }\r\n \r\n  ...\r\n\r\n}\r\n\r\nmodule \"openshift-west\" {\r\n\r\n  source = \"github.com/literalice/terraform-aws-openshift\"\r\n\r\n  providers = {\r\n    \"aws\" = \"aws.usw1\"\r\n  }\r\n \r\n  ...\r\n\r\n}\r\n```\r\n\r\nHowever, this only works with a patch I have in my branch that removes the provider defined in modules/network/provider.tf as that pulls in the provider from the environment, not the one I pass it.\r\n\r\nAny interest in removing that provider and giving the user full control over the provider used when including it as a module?"}}
other: {"actor":{"display_login":"joshua-rutherford"}}