Skip to content

Commit

Permalink
generate: support passing in multiple resource-types
Browse files Browse the repository at this point in the history
Updates the `--resource-type` parameter to accept a comma delimitered
string to be used for the generate and import operations.
  • Loading branch information
jacobbednarz committed Dec 15, 2023
1 parent 0092883 commit 04255f2
Show file tree
Hide file tree
Showing 4 changed files with 1,345 additions and 1,339 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ Available Commands:
version Print the version number of cf-terraforming
Flags:
-a, --account string Use specific account ID for commands
-c, --config string Path to config file (default "/Users/jacob/.cf-terraforming.yaml")
-a, --account string Target the provided account ID for the command
-c, --config string Path to config file (default "~/.cf-terraforming.yaml")
-e, --email string API Email address associated with your account
-h, --help help for cf-terraforming
--hostname string Hostname to use to query the API
-k, --key string API Key generated on the 'My Profile' page. See: https://dash.cloudflare.com/profile
--modern-import-block Whether to generate HCL import blocks for generated resources instead of terraform import compatible CLI commands. This is only compatible with Terraform 1.5+
--provider-registry-hostname string Hostname to use for provider registry lookups (default "registry.terraform.io")
--resource-type string Which resource you wish to generate
--resource-type string Comma delimitered string of which resource(s) you wish to generate
--terraform-binary-path string Path to an existing Terraform binary (otherwise, one will be downloaded)
--terraform-install-path string Path to an initialized Terraform working directory (default ".")
-t, --token string API Token
-v, --verbose Specify verbose output (same as setting log level to debug)
-z, --zone string Limit the export to a single zone ID
-z, --zone string Target the provided zone ID for the command
Use "cf-terraforming [command] --help" for more information about a command.
```
Expand Down
Loading

0 comments on commit 04255f2

Please sign in to comment.