-
Notifications
You must be signed in to change notification settings - Fork 13
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
xray_license_policy stuck #262
Comments
@Osazz Thanks for the report. May I ask you to share more of your debug log with me? You can email me at |
@alexhung Hello Alex, any progress on this ? |
@Osazz I haven't had time to investigate yet. But my plan is to look into this tomorrow. |
@Osazz FYI, I can reproduce your issue and thus far I don't have answer. I've created this thread on Terraform Community forum and we shall see if anyone has any answer. If not, I'll reach out to my Terraform contact at HashiCorp to seek help. |
Thank you @alexhung |
@Osazz Per suggestion in the HashiCorp Community thread, I experimented with switching Using the list of licenses you provided in email, the result is encouraging. Results in parenthesis are my original test. From cli start to plan: ~2 min (vs 7 min) Total elapsed time is ~7 min which is way better. Another possible approach is to add another attribute (says |
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
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
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
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
The text was updated successfully, but these errors were encountered: