-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State path not output to command line via 'apply' command #13042
Comments
Just noting that I see this behavior with
The |
One approach we could take here is to add a new method to the backend interface to produce a human-oriented string representation of the state location, and then change the caption to the more generic "State location:" When on S3, for example, we could show it tersely as an (A good question here is to what extent we want to expose the physical storage details in the UI. For example, would we expose the object paths generated for S3 when non-default state environments are in use?) |
I'm seeing a similar problem of nothing displayed to the state path, but I'm also not seeing a .tfstate file being created. This is also causing me to not be able to destroy the things I'm creating/applying.
|
Hi, I also run into this issue in v0.9.11. Did not get this problem in 0.6.16. After upgrading to 0.9.11 the "State path: " is blank. |
Hi @kylemoschetto and @bamb00! Sorry for the delayed response here. Are both of you using the "local" backend? (That's the default if you didn't specify a different backend explicitly). If so, there being no local state file is the intended behavior in 0.9 and above, since the state now lives only in the remote location, but this message showing up in that case was indeed a bug, which was fixed in #15435. |
@apparentlymart, Not sure I understand your post. If I'm using the "local" backend, then no local state file is produced? Or just no local state file is displayed to console? |
Hello! 🤖 This issue relates to an older version of Terraform that is no longer in active development, and because the area of Terraform it relates to has changed significantly since the issue was opened we suspect that the issue is either fixed or that the circumstances around it have changed enough that we'd need an updated issue report in order to reproduce and address it. If you're still seeing this or a similar issue in the latest version of Terraform, please do feel free to open a new bug report! Please be sure to include all of the information requested in the template, even if it might seem redundant with the information already shared in this issue, because the internal details relating to this problem are likely to be different in the current version of Terraform. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there again, this is a minor issue but the State path isn't being output when running 'terraform apply'
"State path:" is blank
Terraform Version
Steps to Reproduce
terraform.tf
The text was updated successfully, but these errors were encountered: