I'm not able to say terraformer to use other url than https://api.github.com
Terraformer: https://github.com/GoogleCloudPlatform/terraformer
Terraform Github provider: https://github.com/integrations/terraform-provider-github
It looks like that provider is supporting Github Enterprise by providing export GITHUB_BASE_URL=
mechanism to provide different base_url.
But the behaviour of terraformer is not changed after.
$export GITHUB_BASE_URL=https://git.enterprise.com/
$terraformer import github --organizations=org --resources=repositories --token=***
2021/04/07 16:12:55 github importing organization org
2021/04/07 16:12:55 github importing... repositories
2021/04/07 16:12:56 GET https://api.github.com/orgs/bt/repos?per_page=100
Any advice, how to bypass this hardcoded value?