-
Notifications
You must be signed in to change notification settings - Fork 769
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
Error: Unexpected ID format (""), expected numerical ID. strconv.ParseInt: parsing "": invalid syntax #608
Comments
I'm seeing almost exactly the same thing. We lost our state file, when attemping to re-import resources we get the following error
|
It appears that Our workaround was to manually delete all gitlab branch protections in the gitlab gui, then let terraform recreate them. |
I got the same error trying to import a github_team_members resource |
This is hitting us as well! I would classify it as a large blocker for utilizing this provider. |
…s` objects When importing a `github_team_member`, the import command passes in the data as the "Id", not the "team_id", causing the import step to fail when parsing an empty string as a number. Should fix integrations#608, as I hit the same error.
…s` objects When importing a `github_team_member`, the import command passes in team ID as the "Id", not the "team_id" captured in the state for existing resources, and this empty string is causing the import step to fail when parsing as a number. Should fix integrations#608, as I hit the same error.
…s` objects (integrations#1074) When importing a `github_team_member`, the import command passes in team ID as the "Id", not the "team_id" captured in the state for existing resources, and this empty string is causing the import step to fail when parsing as a number. Should fix integrations#608, as I hit the same error.
…s` objects (integrations#1074) When importing a `github_team_member`, the import command passes in team ID as the "Id", not the "team_id" captured in the state for existing resources, and this empty string is causing the import step to fail when parsing as a number. Should fix integrations#608, as I hit the same error.
This issue was originally opened by @pbharambe as hashicorp/terraform#26923. It was migrated here as a result of the provider split. The original body of the issue is below.
Getting "strconv.ParseInt: parsing" error while destroying exiting team membership in terraform apply.
Terraform Version
Terraform Configuration Files
Expected Behavior
The membership should have removed first and then the user from the organization.
Actual Behavior
Steps to Reproduce
terraform init
terraform plan
terraform apply
The text was updated successfully, but these errors were encountered: