Getting all the infrastructure from azure

Hi,

Is there a way to describe an already in use infrastructure in azure so I can add and edit stuff?

Thanks,
Bruno

Hi @bcochofel

If I’ve understood your question correctly. You want to bring your existing Azure infrastructure under terraform management.

You can describe your existing infrastructure in your terraform code and use the terraform import command to bring it under control.

Thanks @DevOpsRob, that’s about it. I’m also thinking on the best way to keep tfstate or what should be the best practices and I’m thinking in separating by service. Does this make sense?