You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to use data resource for citrix_admin_scope for a type tenant scope;
data "citrix_admin_scope" "test_scope_by_name" {
name = "Testing"
}
│ Error: Error listing AdminScope: Testing
│
│ with module.citrix_cloud_daas.data.citrix_admin_scope.testing_scope[0],
│ on .terraform/modules/citrix_cloud_daas/machine_catalogs.tf line 6, in data "citrix_admin_scope" "testing_scope":
│ 6: data "citrix_admin_scope" "testing_scope" {
│
│ Error message: Object does not exist.
In Citrix DaaS there is a scope with the name Testing with type Tenant that exists (scope name is unable to be changed).
I did a little digging around and found that for type tenant scopes, the backend stores the CCID as the 'name' and the displayed name is the 'tenant_name'.
Should the data resource lookup the name regardless of the type or should tenant_name parameter be available to lookup on ?
Resource impacted:
citrix_admin_scope
Versions
Use the terraform -v command to find the Terraform and Citrix Provider versions. Terraform: 1.5.0 citrix/citrix provider: 1.0.7 Operation system: Windows 11 (WSL)
CitrixIssueId: 59144
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue.
To use the scopes data source for the tenant type, please either use the id field or use the tenant customer Id as the name.
We will update the docs from our end for better clarification.
Describe the bug
trying to use data resource for citrix_admin_scope for a type tenant scope;
In Citrix DaaS there is a scope with the name Testing with type Tenant that exists (scope name is unable to be changed).
I did a little digging around and found that for type tenant scopes, the backend stores the CCID as the 'name' and the displayed name is the 'tenant_name'.
For example;
The output in DaaS shows
Should the data resource lookup the name regardless of the type or should tenant_name parameter be available to lookup on ?
Resource impacted:
citrix_admin_scope
Versions
Use the
terraform -v
command to find the Terraform and Citrix Provider versions.Terraform: 1.5.0
citrix/citrix provider: 1.0.7
Operation system: Windows 11 (WSL)
CitrixIssueId: 59144
The text was updated successfully, but these errors were encountered: