{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/16073","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/16073/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/16073/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/16073/events","html_url":"https://github.com/hashicorp/terraform/issues/16073","id":257033538,"number":16073,"title":"terraform init commands is not downloading the tfstate file","user":{"login":"micemuni","id":31214748,"avatar_url":"https://avatars1.githubusercontent.com/u/31214748?v=4","gravatar_id":"","url":"https://api.github.com/users/micemuni","html_url":"https://github.com/micemuni","followers_url":"https://api.github.com/users/micemuni/followers","following_url":"https://api.github.com/users/micemuni/following{/other_user}","gists_url":"https://api.github.com/users/micemuni/gists{/gist_id}","starred_url":"https://api.github.com/users/micemuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micemuni/subscriptions","organizations_url":"https://api.github.com/users/micemuni/orgs","repos_url":"https://api.github.com/users/micemuni/repos","events_url":"https://api.github.com/users/micemuni/events{/privacy}","received_events_url":"https://api.github.com/users/micemuni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-12T12:57:35Z","updated_at":"2017-09-12T12:57:35Z","closed_at":null,"author_association":"NONE","body":"Hi All,\r\nWhen i am doing terraform init commands, TF is not downloading the tfstate ( s3 bucket located ) to local.\r\nAlso i am not able to see the terraform backend-config file inside the .terraform folder. \r\n\r\nI am using terraform 0.10.4 version \r\n\r\n++++++++++++++++++++++++++++++++++++\r\nOutputs: \r\n\r\n$ terraform --version\r\nTerraform v0.10.4\r\n\r\n$ terraform init \\\r\n> -lock=\"true\" \\\r\n> -backend-config=\"bucket=$TF_STATE_BUCKET\" \\\r\n> -backend-config=\"key=$TF_STATE_KEY\" \\\r\n> -backend-config=\"dynamodb_table=$TF_LOCK_TABLE\" \\\r\n> -backend-config=\"region=$AWS_REGION\" \\\r\n> -backend-config=\"profile=$AWS_PROFILE\" \\\r\n> -backend-config=\"encrypt=true\" \\\r\n> .\r\nDownloading modules...\r\nGet: git::ssh://XXXXXXXXXXXXXXXXX/add/tf-vpc.git?ref=1.0.1\r\nGet: git::ssh://XXXXXXXXXXXXXXXXX/add/tf-ec-redis.git?ref=1.1.3\r\nGet: git::ssh://XXXXXXXXXXXXXXXXX/add/tf-rds-pg.git?ref=1.3.0\r\n\r\nInitializing provider plugins...\r\n- Checking for available provider plugins on https://releases.hashicorp.com...\r\n- Downloading plugin for provider \"aws\" (0.1.4)...\r\n\r\nThe following providers do not have any version constraints in configuration,\r\nso the latest version was installed.\r\n\r\nTo prevent automatic upgrades to new major versions that may contain breaking\r\nchanges, it is recommended to add version = \"...\" constraints to the\r\ncorresponding provider blocks in configuration, with the constraint strings\r\nsuggested below.\r\n\r\n* provider.aws: version = \"~> 0.1\"\r\n\r\nTerraform has been successfully initialized!\r\n\r\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\r\nany changes that are required for your infrastructure. All Terraform commands\r\nshould now work.\r\n\r\nIf you ever set or change modules or backend configuration for Terraform,\r\nrerun this command to reinitialize your working directory. If you forget, other\r\ncommands will detect it and remind you to do so if necessary.\r\n\r\n$ ll -al .terraform/\r\ntotal 8\r\ndrwxr-xr-x 1 XXXXX 1049089 0 Sep 12 18:10 modules/\r\ndrwxr-xr-x 1 XXXXX 1049089 0 Sep 12 18:10 plugins/\r\n\r\nIn present location TF will take the backup of the s3-tfstate file, but it's not downloading. \r\n\r\nPlease let me know how to fix this issue. \r\n\r\n \r\n\r\n"}}
{"actor":{"display_login":"micemuni"}}