How To Sync Terraform Config And .tfstate File For Existing AWS Resourcesby@KyMidd

How To Sync Terraform Config And .tfstate File For Existing AWS Resources

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

The “import” function exists within Terraform for the AWS cloud, but it’s dependent on a state file that is local, and only reflects resources created by terraform. The tool is not able to reach out to a cloud account and create a configuration and.tfstate file based on the existing resources that were built via another method. I’m publishing my code which allows you to create a. single (monolithic) configuration file for each existing resource in an AWS region. The code assumes you don’t have an existing. existing. terraforming. file.
featured image - How To Sync Terraform Config And .tfstate File For Existing AWS Resources
Kyler HackerNoon profile picture

@KyMidd

Kyler
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa