Skip to content
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 ibm_cis_domain only retrieve 20 domains #1804

Closed
pauljegouic opened this issue Aug 13, 2020 · 7 comments
Closed

datasource ibm_cis_domain only retrieve 20 domains #1804

pauljegouic opened this issue Aug 13, 2020 · 7 comments

Comments

@pauljegouic
Copy link

Hello there,

We are facing an URGENT issue with ibm_cis_domain with our CIS instance.

We have a CIS instances that has more than 20 domains, and maybe more than 50.

The datasource uses the API endpoints to retrieve the domains list with the default parameter "item-per-page" (default is 20), leading that a datasource on the 21st will trigger an error.

Here is the error thrown:

Error: dataSourcCISdomainRead - Domain with name xpzone.bivwak.com does not exist

Proof:

~ ic cis domains | grep xpzone
➜  ~ ic cis domains --per-page 21 | grep xpzone
9cxxxiiu0c67c22fb594403b047d0d00   xpzone.bivwak.com                           active    false   

Also I saw that there is a limit with CLI set to 50, but I don't see this limit into the REST API.

Thanks in advance

@kavya498
Copy link
Collaborator

Hello,
We are working on it..

@pauljegouic
Copy link
Author

Any update ? This is a blocker for us.

@kavya498
Copy link
Collaborator

We fixed the issue, and worked with robhy to test the fix and it is working as expected..
We are planning to make a release on monday..

@kavya498
Copy link
Collaborator

Hi,
Fix is available in the latest release v1.11.0

@pauljegouic
Copy link
Author

@kavya498

Cannot test as it this version breaks my template.

@kavya498
Copy link
Collaborator

kavya498 commented Sep 2, 2020

Hi @ifs-pauljegouic,
Are you able to test with latest version of the provider..?

@pauljegouic
Copy link
Author

Yes fixed, sorry for the non-feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants