-
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
Datasource vcd_catalog not working for shared catalog with tenant users #944
Comments
Hello, |
The reason for the failure is this:
A possible solution, which, BTW, would also solve the case where we have the catalog shared with the same name from multiple organizations, is to add a field data "vcd_catalog" "catalog" {
sharing_org = "org-1234"
name = "catalog-abcd"
} An alternative would be to use the catalog ID as disambiguation. In both cases, the information should come from the catalog owner, as the web interface does not provide it. Would this solution be acceptable? |
The way I see it working is this: |
Thanks for your ideas. This should already be better than the current functionality. We thought about following further improvement: First idea: Second idea: |
Thanks. I will try to make it work in the simpler way, and then make the more complex ways possible. I will share a prototype soon. |
I managed to find a solution with a simpler interface. See PR #949 for details. |
Thanks for the solution. Unfortunately I have not the time at the moment to test it out. But looking at the PR and the ideas considered in it, I think, it should solve the problems we had. |
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Catalog ID should be returned as output, even if a tenant specific user is used.
Actual Behavior
Catalog cannot be found:
Steps to Reproduce
terraform apply
User Access rights
Used user is a user which has only access to one specific tenant, not a system/provider user
Important Factoids
org
value is the name of the org where the original catalog is located.org
value to an org the catalog is shared to does not work, even with system/provider access, but this might be the expected behaviorvapp_template_id
in thevapp_vm
The text was updated successfully, but these errors were encountered: