Metadata-Version: 2.0
Name: aztfgen
Version: 0.1.0
Summary: Generate terraform config from deployed azure resources.
Home-page: http://github.com/glenjamin/azure-terraform-generate
Author: Glen Mailer
Author-email: glen@stainlessed.co.uk
License: MIT
Description-Content-Type: text/markdown
Platform: UNKNOWN
Requires-Python: >=3.5

# Azure Terraform Generate

Generate terraform config from deployed azure resources.

Made a bunch of stuff in azure but wish you'd used terraform? Now's your chance to fix the mistakes of past-you.

## Work in progress

This is currently just a proof of concept type thing.

## Requirements

* Python 3.5+
* The Azure 2.0 CLI (The python based `az` one).

In order to dodge API calling and avoid having to deal with azure authentication, this project abdicates all responsibility for that functionality by shelling out to the azure CLI.

## Install

I'll probably publish to pop when this is a bit more fully formed, for now you'll have to git clone.

## Usage

The arguments are intended to match whatever you'll also need to pass to `terraform import` to take care of getting the current state into terraform.

```
./aztfgen <terraform-address> <resource-id>
```

## License

MIT


