{"action":"created","issue":{"url":"https://api.github.com/repos/openfun/marsha/issues/141","repository_url":"https://api.github.com/repos/openfun/marsha","labels_url":"https://api.github.com/repos/openfun/marsha/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/openfun/marsha/issues/141/comments","events_url":"https://api.github.com/repos/openfun/marsha/issues/141/events","html_url":"https://github.com/openfun/marsha/issues/141","id":380109079,"node_id":"MDU6SXNzdWUzODAxMDkwNzk=","number":141,"title":"s3 bucket for terraform state region is harcoded","user":{"login":"lunika","id":767834,"node_id":"MDQ6VXNlcjc2NzgzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/767834?v=4","gravatar_id":"","url":"https://api.github.com/users/lunika","html_url":"https://github.com/lunika","followers_url":"https://api.github.com/users/lunika/followers","following_url":"https://api.github.com/users/lunika/following{/other_user}","gists_url":"https://api.github.com/users/lunika/gists{/gist_id}","starred_url":"https://api.github.com/users/lunika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunika/subscriptions","organizations_url":"https://api.github.com/users/lunika/orgs","repos_url":"https://api.github.com/users/lunika/repos","events_url":"https://api.github.com/users/lunika/events{/privacy}","received_events_url":"https://api.github.com/users/lunika/received_events","type":"User","site_admin":false},"labels":[{"id":1064438738,"node_id":"MDU6TGFiZWwxMDY0NDM4NzM4","url":"https://api.github.com/repos/openfun/marsha/labels/bug","name":"bug","color":"b60205","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T08:24:43Z","updated_at":"2018-11-13T09:17:39Z","closed_at":null,"author_association":"MEMBER","body":"## Bug Report\r\n\r\n**Expected behavior/code**\r\n\r\nWhen I create the bucket to store the terraform state I want to choose the region where it will be created\r\n\r\n**Actual Behavior**\r\n\r\nThe aws region is harcoded in `src/aws/create_state_bucket/variables.tf`. The value is `eu-west-1`\r\n\r\n**Possible Solution**\r\n\r\nUse the environment variable `aws_region` in `env.d/aws/env.d/state_bucket`\r\n"},"comment":{"url":"https://api.github.com/repos/openfun/marsha/issues/comments/438193336","html_url":"https://github.com/openfun/marsha/issues/141#issuecomment-438193336","issue_url":"https://api.github.com/repos/openfun/marsha/issues/141","id":438193336,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODE5MzMzNg==","user":{"login":"mbenadda","id":1932937,"node_id":"MDQ6VXNlcjE5MzI5Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1932937?v=4","gravatar_id":"","url":"https://api.github.com/users/mbenadda","html_url":"https://github.com/mbenadda","followers_url":"https://api.github.com/users/mbenadda/followers","following_url":"https://api.github.com/users/mbenadda/following{/other_user}","gists_url":"https://api.github.com/users/mbenadda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbenadda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbenadda/subscriptions","organizations_url":"https://api.github.com/users/mbenadda/orgs","repos_url":"https://api.github.com/users/mbenadda/repos","events_url":"https://api.github.com/users/mbenadda/events{/privacy}","received_events_url":"https://api.github.com/users/mbenadda/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T09:17:39Z","updated_at":"2018-11-13T09:17:39Z","author_association":"MEMBER","body":"The default is hardcoded but it will accept a value from the environment variable"}}
{"actor":{"display_login":"mbenadda"}}