Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
Relates-to: hashicorp#14736
  • Loading branch information
magodo authored and leesutcliffe committed Nov 24, 2022
1 parent 29877ec commit 2c752f7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions internal/tools/generator-schema-snapshot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Schema Snapshot Generator

This application generates the schema snapshot for a resource, mainly to be used for [resource state migration](https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/state-migration).

## Example Usage

```
$ go run main.go <resource_type>
```

E.g.

```
$ go run main.go azurerm_resource_group
```

## Arguments

* `resource_type`: The resource type to generate the schema.

0 comments on commit 2c752f7

Please sign in to comment.