{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/19005","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/19005/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/19005/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/19005/events","html_url":"https://github.com/hashicorp/terraform/issues/19005","id":366921093,"node_id":"MDU6SXNzdWUzNjY5MjEwOTM=","number":19005,"title":"backend/swift docs appear to be incorrect about object versioning","user":{"login":"cardoe","id":8839,"node_id":"MDQ6VXNlcjg4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8839?v=4","gravatar_id":"","url":"https://api.github.com/users/cardoe","html_url":"https://github.com/cardoe","followers_url":"https://api.github.com/users/cardoe/followers","following_url":"https://api.github.com/users/cardoe/following{/other_user}","gists_url":"https://api.github.com/users/cardoe/gists{/gist_id}","starred_url":"https://api.github.com/users/cardoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardoe/subscriptions","organizations_url":"https://api.github.com/users/cardoe/orgs","repos_url":"https://api.github.com/users/cardoe/repos","events_url":"https://api.github.com/users/cardoe/events{/privacy}","received_events_url":"https://api.github.com/users/cardoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T18:45:47Z","updated_at":"2018-10-04T18:45:47Z","closed_at":null,"author_association":"NONE","body":"I believe the wording on the object versioning warning in the backend/swift section of the documentation is incorrect. The link points to `archive_path` (which is deprecated for `archive_container`) but the wording says `expire_after` which is visible when you click the link so the error isn't necessarily obvious.\r\n\r\nImagine you have a backend configured something like:\r\n```\r\nterraform {\r\n  backend \"swift\" {\r\n    container    = \"terraform-state\"\r\n    expire_after = \"7d\"\r\n  }\r\n}\r\n```\r\n\r\nThis will cause your `tfstate.tf` file to be deleted 7 days after it was created. Which is certainly not what's desired. I believe the intended file is:\r\n\r\n```\r\nterraform {\r\n  backend \"swift\" {\r\n    container         = \"terraform-state\"\r\n    archive_container = \"terraform-state-archive\"\r\n  }\r\n}\r\n```\r\n\r\nThis appeared in https://github.com/hashicorp/terraform/commit/af5467b9fdc2613f975bbe4a6b9e6b29935a61ed#r30776677\r\n"}}
{"actor":{"display_login":"cardoe"}}