forked from GoogleCloudPlatform/terraformer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix brew instructions and readme edits
- Loading branch information
1 parent
bf050bb
commit a1b4f61
Showing
1 changed file
with
6 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|