Skip to content

Commit

Permalink
Fix brew instructions and readme edits
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed Jan 11, 2024
1 parent bf050bb commit a1b4f61
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This is a fork of [Terraformer](https://github.com/GoogleCloudPlatform/terraform

## Usage

### 1. Installation
### 1. Install

#### Homebrew

brew tap rootlyhq/homebrew-tap [email protected]:rootlyhq/homebrew-tap.git
brew tap rootlyhq/homebrew-tap
brew install terraformer-rootly

#### Download
Expand Down Expand Up @@ -46,35 +46,21 @@ Set the `ROOTLY_API_TOKEN` environment variable or use `--token=` CLI flag when

Import all resources:

```sh
terraformer-rootly import rootly --resources=*
```
terraformer-rootly import rootly --resources=*

Or import specific resources:

```sh
terraformer-rootly import rootly --resources=environment,severity
```
terraformer-rootly import rootly --resources=environment,severity

See all the command line options using `terraformer-rootly --help`

### 4. Set qualified name for Rootly provider
### Next steps

Generated `provider.tf` files need `source = "rootlyhq/rootly"`.

Generated `.tfstate` files need to be updated to use a qualified name:

```sh
terraform state replace-provider -- -/rootly rootlyhq/rootly
```

### 5. Verify

Use `terraform plan` to verify imported configuration matches your Rootly configuration.

## Documentation

Terraformer documentation is available at [github.com/GoogleCloudPlatform/terraformer](https://github.com/GoogleCloudPlatform/terraformer).
terraform state replace-provider -- -/rootly rootlyhq/rootly

## Development

Expand Down

0 comments on commit a1b4f61

Please sign in to comment.