Open erados opened 3 days ago
It looks like you're running into a runtime error while importing AWS identity store resources with Terraformer. This error appears to stem from the GetIdentityStoreId
function trying to access an index that doesn't exist.
Validate Identity Store Configuration: Ensure that your AWS identity store is correctly set up and that the necessary permissions are in place. The error might be caused by an empty response from the AWS API.
Debug Logging: Run Terraformer with increased logging verbosity to get more insights into what's causing the issue.
TF_LOG=DEBUG terraformer import aws --resources=identitystore --path-pattern="{output}/" --connect=true --regions=us-east-1 --profile=terraform-imdiots
Workaround: As a temporary measure, you might try manually specifying the identity store ID in your Terraformer command if that's an option. This can be done by setting the identity store ID directly in the resource configuration. For example:
terraformer import aws --resources=identitystore --path-pattern="{output}/" --connect=true --regions=us-east-1 --profile=terraform-imdiots --identitystore-id=<your-identity-store-id>
Replace <your-identity-store-id>
with the actual identity store ID from your AWS account.
Also, it would be helpful if you could provide some additional details about your environment: