amazon-web-servicesterraformterraform-provider-aws

TerraForm AWS: Is it possible to Import all AWS Resources in one time? | terraform import all services in one time


currently I started to work on an old AWS Infrastructure and tried to get know all current service states thru "terraform import" separately, but I would like to import with terraform all service in one time to save time and be sure that I have all aws services.

So is it possible to import all AWS Resources in one time?

Thanks a lot for your help in advance.

Meer


Solution

  • So my is it possible to import all AWS Resources in one time?

    Not directly with TF. But you could use a third-party, opensourced tool, called Former2 which can generate TF code from existing resources:

    Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources