-
Notifications
You must be signed in to change notification settings - Fork 454
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
Folder exists for new projects #219
Comments
#38 Looks like the same issue. |
@vancluever what made you remove all the find logic from the old create method? |
@pryorda - sorry you have having trouble. Are you trying to create a folder resource for a folder that already exists? If that's the case, what you would want to do instead is import the resource into the existing configuration. Have you tried that yet? The implicit import behaviour that existed in this resource before was removed because it probably should not have existed in the first place - it never was Terraform's place to manage the lifecycle of resources that it did not create until explicit import became available, and I can only assume that it was there because import or data source functionality did not exist at the time it was created. Keep in mind that importing the resource will subject it to full lifecycle management too, so if you Thanks! |
Are you working on a datasource for folders we can use? |
Hey @pryorda, right now no resource takes an ID for a folder, so while I'm not necessarily ruling out that there won't be one in the future, right now there are no plans to create one. The main driver for that work would be if we decide to wholesale move the For now, we are just recommending that you use the path directly, either by hardcoding it or by putting it in a variable. Thanks! |
What would the import syntax be for a folder? |
Hi there,
Looks like there is a problem creating folders that already exist.
Terraform Version
2017/10/23 11:54:25 [INFO] Terraform version: 0.10.7 5f9bf20ba6aaa174600109a95cc77f7788d4959b+CHANGES
vSphere Provider Version
v0.4.2
Affected Resource(s)
resource "vsphere_folder"
Terraform Configuration Files
Debug Output
The text was updated successfully, but these errors were encountered: