{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/5142","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/5142/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/5142/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/5142/events","html_url":"https://github.com/hashicorp/terraform/issues/5142","id":133798088,"number":5142,"title":"Bug in aws_s3_bucket resource redirect_all_requests_to action","user":{"login":"fromonesrc","id":550256,"avatar_url":"https://avatars.githubusercontent.com/u/550256?v=3","gravatar_id":"","url":"https://api.github.com/users/fromonesrc","html_url":"https://github.com/fromonesrc","followers_url":"https://api.github.com/users/fromonesrc/followers","following_url":"https://api.github.com/users/fromonesrc/following{/other_user}","gists_url":"https://api.github.com/users/fromonesrc/gists{/gist_id}","starred_url":"https://api.github.com/users/fromonesrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fromonesrc/subscriptions","organizations_url":"https://api.github.com/users/fromonesrc/orgs","repos_url":"https://api.github.com/users/fromonesrc/repos","events_url":"https://api.github.com/users/fromonesrc/events{/privacy}","received_events_url":"https://api.github.com/users/fromonesrc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-15T19:31:56Z","updated_at":"2016-02-17T00:06:17Z","closed_at":null,"body":"```\r\nresource \"aws_s3_bucket\" \"bucket\" {\r\n    bucket = \"foo\"\r\n\r\n    website {\r\n        redirect_all_requests_to = \"https://www.foo.com/bar\"\r\n    }\r\n}\r\n```\r\n\r\nresults in this apply\r\n\r\n```\r\naws_s3_bucket.bucket: Creating...\r\n  acl:                                \"\" => \"private\"\r\n  arn:                                \"\" => \"<computed>\"\r\n  bucket:                             \"\" => \"foo\"\r\n  force_destroy:                      \"\" => \"0\"\r\n  hosted_zone_id:                     \"\" => \"<computed>\"\r\n  region:                             \"\" => \"<computed>\"\r\n  website.#:                          \"\" => \"1\"\r\n  website.0.redirect_all_requests_to: \"\" => \"https://www.foo.com/bar\"\r\n  website_domain:                     \"\" => \"<computed>\"\r\n  website_endpoint:                   \"\" => \"<computed>\"\r\n```\r\n\r\nbut the actual value set on S3 drops everything after `.com`\r\n\r\n![2016-02-15 at 2 28 42 pm](https://cloud.githubusercontent.com/assets/550256/13058331/8266eec2-d3f0-11e5-997d-22976103a31e.png)\r\n\r\nI am running v0.6.11."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/184933063","html_url":"https://github.com/hashicorp/terraform/issues/5142#issuecomment-184933063","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/5142","id":184933063,"user":{"login":"jbiel","id":961717,"avatar_url":"https://avatars.githubusercontent.com/u/961717?v=3","gravatar_id":"","url":"https://api.github.com/users/jbiel","html_url":"https://github.com/jbiel","followers_url":"https://api.github.com/users/jbiel/followers","following_url":"https://api.github.com/users/jbiel/following{/other_user}","gists_url":"https://api.github.com/users/jbiel/gists{/gist_id}","starred_url":"https://api.github.com/users/jbiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbiel/subscriptions","organizations_url":"https://api.github.com/users/jbiel/orgs","repos_url":"https://api.github.com/users/jbiel/repos","events_url":"https://api.github.com/users/jbiel/events{/privacy}","received_events_url":"https://api.github.com/users/jbiel/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T00:06:16Z","updated_at":"2016-02-17T00:06:16Z","body":"+1, same thing observed here. Subsequent runs of terraform indicate that it's trying to update to the proper URL. I've tried escaping, using double slashes, a trailing slash, etc. but nothing seems to work.\r\n\r\n```\r\nterraform --version\r\nTerraform v0.6.12-dev (2cfdfd1d84620d4571e6377796ad9f1d96231993)\r\n...\r\naws_s3_bucket.bucket: Modifying...\r\n  website.0.redirect_all_requests_to: \"https://www.foo.com\" => \"https://www.foo.com/bar\"\r\naws_s3_bucket.bucket: Modifications complete\r\n```"}}