Describe the bugxray_license_policy resource is getting stuck infinitely when trying to import or plan a resource with plenty allowed_licenses . Currently have 2000+ allowed_licenses.
Requirements for and issue
[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
[x] Your version of Artifactory and Xray (you can curl Artifactory version at $host/artifactory/api/system/version and Xray version at
$host/xray/api/v1/system/version
2024-10-31T13:07:48.033-0300 [WARN] unexpected data: registry.terraform.io/jfrog/xray:
[DEBUG] provider.terraform-provider-xray_v2.13.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=7f342b2c-749d-f42e-8f5a-7710cd2d923c tf_resource_type=xray_license_policy @caller=github.com/hashicorp/terraform-plugin-framework@v1.12.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=name tf_provider_addr=registry.terraform.io/jfrog/xray tf_rpc=ReadResource timestamp=2024-10-31T13:07:48.226-0300
Expected behavior
When you try to import existing License Policy with that much allowed license list, Import should work
When you try to create new one and you run plan, it should also work.
Additional context
When I have few allowed license in the list (tested 15), it work as expected. was able to import and run plan
Describe the bug
xray_license_policy
resource is getting stuck infinitely when trying toimport
orplan
a resource with plentyallowed_licenses
. Currently have2000+
allowed_licenses.Requirements for and issue
[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
[x] Your version of Artifactory and Xray (you can
curl
Artifactory version at$host/artifactory/api/system/version
and Xray version at$host/xray/api/v1/system/version
[x] Your version of terraform
Artifactory Version : "7.99.2"
Xray Version: "3.106.7"
Terraform version: 1.9.8 Code snippet
DEBUG LOG
Expected behavior
Additional context When I have few allowed license in the list (tested 15), it work as expected. was able to import and run plan