-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): Regenerate CLI docs for v0.25.0
- Loading branch information
Showing
3 changed files
with
84 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## newrelic utils terraform | ||
|
||
Tools for working with Terraform | ||
|
||
### Synopsis | ||
|
||
Tools for working with Terraform | ||
|
||
The terraform commands can be used for generating Terraform HCL for simple observability | ||
as code use cases. | ||
|
||
|
||
### Examples | ||
|
||
``` | ||
cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for terraform | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--format string output text format [JSON, Text, YAML] (default "JSON") | ||
--plain output compact text | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [newrelic utils](newrelic_utils.md) - Various utility methods | ||
* [newrelic utils terraform dashboard](newrelic_utils_terraform_dashboard.md) - Generate HCL for the newrelic_one_dashboard resource | ||
|
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
## newrelic utils terraform dashboard | ||
|
||
Generate HCL for the newrelic_one_dashboard resource | ||
|
||
### Synopsis | ||
|
||
Generate HCL for the newrelic_one_dashboard resource | ||
|
||
This command generates HCL configuration for newrelic_one_dashboard resources from | ||
exported JSON documents. For more detail on exporting dashboards to JSON, see | ||
https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/manage-your-dashboard/#dash-json | ||
|
||
Input can be sourced from STDIN per the provided example, or from a file using the --file option. | ||
Output will be sent to STDOUT by default but can be redirected to a file with the --out option. | ||
|
||
|
||
``` | ||
newrelic utils terraform dashboard [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-f, --file string a file that contains exported dashboard JSON | ||
-h, --help help for dashboard | ||
-l, --label string the resource label to use when generating resource HCL | ||
-o, --out string the file to send the generated HCL to | ||
-w, --shiftWidth int the indentation shift with of the output (default 2) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--format string output text format [JSON, Text, YAML] (default "JSON") | ||
--plain output compact text | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [newrelic utils terraform](newrelic_utils_terraform.md) - Tools for working with Terraform | ||
|