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

[Bug]: V1.0.0 is not working. resources flag provided but not defined #154

Closed
vishakseshadri opened this issue Oct 7, 2024 · 1 comment · Fixed by #182
Closed

[Bug]: V1.0.0 is not working. resources flag provided but not defined #154

vishakseshadri opened this issue Oct 7, 2024 · 1 comment · Fixed by #182
Assignees

Comments

@vishakseshadri
Copy link

Description

./terraform-provider-astro_v1.0.0 - resources workspace,deployment,cluster,api-token,team,team_roles,user_roles -organizationId <org_id> -runTerraformInit flag provided but not defined: -resources Usage of ./terraform-provider-astro_v1.0.0: -debug set to true to run the provider with support for debuggers like delve

Looks like the new version is not properly implemented. Further, with version 0.1.3, it is limited to 20 resources per type instead of all the resources defined in the current environment.

Steps To Reproduce

With version 0.1.3, download the script and run it - (replace orgID with your organization ID )
./terraform-provider-astro-import-script_v0.1.3_darwin_arm64 -resources workspace,deployment,cluster,api_token,team,team_roles,user_roles -organizationId <orgID> -runTerraformInit

This works fine, but only downloads 20 resources per type. Looks like the tool has not implemented handling pagination of API results.

Acceptance Criteria

No response

Anything else?

No response

@ichung08
Copy link
Collaborator

ichung08 commented Oct 8, 2024

Hey @vishakseshadri thanks for bringing this up, I will look into handling pagination of API results in the script. The latest version of the import script is v0.1.3.

@ichung08 ichung08 self-assigned this Oct 8, 2024
@ichung08 ichung08 linked a pull request Dec 18, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants