wf search cloud-resource
Searches for cloud resources to consume
Searches the sources, determined by the configuration file for modules which match the required terms. Once selected the command will generate the Configuration CRD required to use the module as a source.
At present we support using the Terraform registry and GitHub user / organizations as a source for terraform modules.
Write the generated output to a file $ wf search cloud-resource -o filename
For private repositories on Github you will need to export your token to the environment variable GITHUB_TOKEN. $ export GITHUB_TOKEN=TOKEN
This command assumes credentials have already been setup. For the Terraform registry, nothing is required, but for private repositories on Github your environment must already be setup to git clone the repository.
wf search cloud-resource [OPTIONS] [flags]
--enable-defaults Indicates any defaults with values from the terraform module are included
-h, --help help for cloud-resource
--name string Is the name of the resource to create
-o, --output string Optional filename to write the generated configuration (defaults: stdout)
-p, --provider string Limit the search only to modules with the given provider
-s, --source string Limit the scope of the search to a specific source
--source-namespace string The namespace within the source registry to scope the search
Options inherited from parent commands
--debug Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within
- wf search - Used to search for resources