{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/16927","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/16927/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/16927/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/16927/events","html_url":"https://github.com/hashicorp/terraform/pull/16927","id":282390034,"node_id":"MDExOlB1bGxSZXF1ZXN0MTU4NTc0OTk2","number":16927,"title":"Add Alibaba Cloud backend OSS with lock","user":{"login":"xiaozhu36","id":21300084,"node_id":"MDQ6VXNlcjIxMzAwMDg0","avatar_url":"https://avatars1.githubusercontent.com/u/21300084?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaozhu36","html_url":"https://github.com/xiaozhu36","followers_url":"https://api.github.com/users/xiaozhu36/followers","following_url":"https://api.github.com/users/xiaozhu36/following{/other_user}","gists_url":"https://api.github.com/users/xiaozhu36/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaozhu36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaozhu36/subscriptions","organizations_url":"https://api.github.com/users/xiaozhu36/orgs","repos_url":"https://api.github.com/users/xiaozhu36/repos","events_url":"https://api.github.com/users/xiaozhu36/events{/privacy}","received_events_url":"https://api.github.com/users/xiaozhu36/received_events","type":"User","site_admin":false},"labels":[{"id":85946959,"node_id":"MDU6TGFiZWw4NTk0Njk1OQ==","url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":653885463,"node_id":"MDU6TGFiZWw2NTM4ODU0NjM=","url":"https://api.github.com/repos/hashicorp/terraform/labels/new-backend","name":"new-backend","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"jbardin","id":35067,"node_id":"MDQ6VXNlcjM1MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/35067?v=4","gravatar_id":"","url":"https://api.github.com/users/jbardin","html_url":"https://github.com/jbardin","followers_url":"https://api.github.com/users/jbardin/followers","following_url":"https://api.github.com/users/jbardin/following{/other_user}","gists_url":"https://api.github.com/users/jbardin/gists{/gist_id}","starred_url":"https://api.github.com/users/jbardin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbardin/subscriptions","organizations_url":"https://api.github.com/users/jbardin/orgs","repos_url":"https://api.github.com/users/jbardin/repos","events_url":"https://api.github.com/users/jbardin/events{/privacy}","received_events_url":"https://api.github.com/users/jbardin/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbardin","id":35067,"node_id":"MDQ6VXNlcjM1MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/35067?v=4","gravatar_id":"","url":"https://api.github.com/users/jbardin","html_url":"https://github.com/jbardin","followers_url":"https://api.github.com/users/jbardin/followers","following_url":"https://api.github.com/users/jbardin/following{/other_user}","gists_url":"https://api.github.com/users/jbardin/gists{/gist_id}","starred_url":"https://api.github.com/users/jbardin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbardin/subscriptions","organizations_url":"https://api.github.com/users/jbardin/orgs","repos_url":"https://api.github.com/users/jbardin/repos","events_url":"https://api.github.com/users/jbardin/events{/privacy}","received_events_url":"https://api.github.com/users/jbardin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-12-15T10:52:35Z","updated_at":"2018-08-09T02:43:39Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/16927","html_url":"https://github.com/hashicorp/terraform/pull/16927","diff_url":"https://github.com/hashicorp/terraform/pull/16927.diff","patch_url":"https://github.com/hashicorp/terraform/pull/16927.patch"},"body":"The PR provides an new cloud backend oss that terraform can store state remotely in OSS and lock that state with OSS.\r\n\r\nThe result of running test case as follows:\r\n\r\nTF_ACC=1 go test -v ./backend/remote-state/oss/ -run=TestBackend -timeout 120m\r\n=== RUN   TestBackend_impl\r\n--- PASS: TestBackend_impl (0.00s)\r\n=== RUN   TestBackendConfig\r\n2017/12/15 18:09:59 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n--- PASS: TestBackendConfig (0.26s)\r\n=== RUN   TestBackendConfig_invalidKey\r\n--- PASS: TestBackendConfig_invalidKey (0.00s)\r\n=== RUN   TestBackend\r\n2017/12/15 18:09:59 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n\r\n(some logs)\r\n\r\n2017/12/15 18:10:03 Delete Object workspaces/foo/testTFState successfully.\r\n--- PASS: TestBackend (4.35s)\r\n        backend_test.go:253: creating OSS bucket terraform-remote-oss-test-5a339f77 in http://oss-cn-beijing.aliyuncs.com\r\n=== RUN   TestBackendLocked\r\n2017/12/15 18:10:03 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n\r\n(some logs)\r\n\r\n2017/12/15 18:10:08 Delete Object tfTest/mystate.tflock successfully.\r\n--- PASS: TestBackendLocked (5.40s)\r\n        backend_test.go:253: creating OSS bucket terraform-remote-oss-test-5a339f7b in http://oss-cn-beijing.aliyuncs.com\r\n        backend_test.go:122: TestBackend: testing state locking for *oss.Backend\r\n=== RUN   TestBackendExtraPaths\r\n2017/12/15 18:10:09 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n\r\n(some logs)\r\n\r\n2017/12/15 18:10:10 [TRACE] Preserving existing state lineage \"ff0bbc96-824c-418b-9f88-866d32f6b7ea\"\r\n--- PASS: TestBackendExtraPaths (2.07s)\r\n        backend_test.go:253: creating OSS bucket terraform-remote-oss-test-5a339f81 in http://oss-cn-beijing.aliyuncs.com\r\nPASS\r\nok      github.com/hashicorp/terraform/backend/remote-state/oss 12.120s\r\n\r\n\r\nTF_ACC=1 go test -v ./backend/remote-state/oss/ -run=TestRemoteClient -timeout 120m\r\n=== RUN   TestRemoteClient_impl\r\n--- PASS: TestRemoteClient_impl (0.00s)\r\n=== RUN   TestRemoteClient\r\n2017/12/15 18:04:32 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n\r\n(some logs)\r\n\r\n2017/12/15 18:04:33 State testState has no data.\r\n--- PASS: TestRemoteClient (1.44s)\r\n        backend_test.go:253: creating OSS bucket terraform-remote-oss-test-5a339e30 in http://oss-cn-beijing.aliyuncs.com\r\n=== RUN   TestRemoteClientLocks\r\n2017/12/15 18:04:33 [DEBUG] Instantiate OSS client using endpoint: \"oss-cn-beijing.aliyuncs.com\"\r\n\r\n(some logs)\r\n\r\n2017/12/15 18:04:36 Delete Object testState.tflock successfully.\r\n--- PASS: TestRemoteClientLocks (3.09s)\r\n        backend_test.go:253: creating OSS bucket terraform-remote-oss-test-5a339e31 in http://oss-cn-beijing.aliyuncs.com\r\nPASS\r\nok      github.com/hashicorp/terraform/backend/remote-state/oss 4.566s"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/411618762","html_url":"https://github.com/hashicorp/terraform/pull/16927#issuecomment-411618762","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/16927","id":411618762,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTYxODc2Mg==","user":{"login":"JennyLi90","id":13658274,"node_id":"MDQ6VXNlcjEzNjU4Mjc0","avatar_url":"https://avatars2.githubusercontent.com/u/13658274?v=4","gravatar_id":"","url":"https://api.github.com/users/JennyLi90","html_url":"https://github.com/JennyLi90","followers_url":"https://api.github.com/users/JennyLi90/followers","following_url":"https://api.github.com/users/JennyLi90/following{/other_user}","gists_url":"https://api.github.com/users/JennyLi90/gists{/gist_id}","starred_url":"https://api.github.com/users/JennyLi90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JennyLi90/subscriptions","organizations_url":"https://api.github.com/users/JennyLi90/orgs","repos_url":"https://api.github.com/users/JennyLi90/repos","events_url":"https://api.github.com/users/JennyLi90/events{/privacy}","received_events_url":"https://api.github.com/users/JennyLi90/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T02:43:39Z","updated_at":"2018-08-09T02:43:39Z","author_association":"NONE","body":"Any update for this? is there any plan for merge? "}}
{"actor":{"display_login":"JennyLi90"}}