-
Notifications
You must be signed in to change notification settings - Fork 112
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
vcd_org_vdc: adding a storage profile requires the vdc to be replaced #648
Comments
The |
I can modify the limit of an existing storage profile without destroying the vdc, but I cannot add a new one |
@dataclouder I have one more question:
|
Replacing the VDC implies a deletion, and such deletion is not possible unless the VDC is emptied recursively. |
Let me summarize:
Am I correct? |
Sorry, I don't follow. |
Sorry, you are right (forget the second bullet - I understand why it doesn't work as I was expecting). |
Any step forward on that? |
I am looking into it now. When we allow the storage profile to be modified, we have three cases:
|
* Fix Issue vmware#648 adding a storage profile requires the vdc to be replaced * Fix Issue vmware#696 Catalog deletion failure returns as success Signed-off-by: Giuseppe Maxia <gmaxia@vmware.com>
Fixed in PR #698 |
it works!
And it is also ok that removal or change are attempted to let VCD complain if the storage profile cannot be removed or modified.
|
@dataclouder any release date for 3.4.0 including this fix? thanks |
It is merged to master. It will be released soon. |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
I have input values like the following:
The org vdc has a dynamic block for storage profiles:
Steps to Reproduce
terraform plan
terraform apply
terraform plan
terraform apply
Debug Output
First, I had a successful organization creation:
After the input modification I had a plan that requires replacement of the vdc:
Expected Behavior
Storage profile is added in place to the org vdc
Actual Behavior
org vdc has been replaced, the other resources (edge, networks, ...) are disappeared.
The text was updated successfully, but these errors were encountered: