Skip to main content
⏳ Estimated read time: 1 min read

Cloud to Code Global Flags

cloud2code is a powerful tool that can generate Terraform state files from cloud resources. It can be used to generate Terraform state files from AWS, GCP, and Azure cloud.

Usage

cloud2code [command]

Available Commands

CommandDescription
completionGenerate the autocompletion script for the specified shell
get-supported-resourcesList supported resources
helpHelp about any command
importImport resources from cloud
versionVersion of cloud2code

Flags

FlagDescription
-h, --helpHelp for cloud2code
-l, --log-level stringLog level (debug, info, warn, error, panic, fatal) (default: "info")
-t, --log-type stringLog output type (console, json) (default: "json")

Use cloud2code [command] --help for more information about a command.