terraformer: Unknown flag resources

Trying to import no matter if from GCP o r AWS I always have the same error message: terraformer import google --resource=google_container_cluster --regions=europe-west1 --project=my-project 2020/04/10 10:02:44 unknown flag: --resource The version I have is as follows. terraformer --version version v0.8.7 The same exactly message I have for aws.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 7
  • Comments: 33 (5 by maintainers)

Commits related to this issue

Most upvoted comments

For me it seems to be the brace expansion side of things causing issues. When I installed on linux with PROVIDER={all,aws,google,kubernetes} the commands ran super quickly and I got the above error. But if I do it just as PROVIDER=aws and then run the rest of the commands again, it takes a while downloading 150MB or so of the file and then the commands work fine.

It makes me wonder if the documentation is suggesting options rather than giving an actual command. It does seem odd to include aws AND “all”.

Also crossed it, v 0.8.8, Ubuntu 20.04