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

Get Supported Resources

The get-supported-resources command lists the cloud resource types that cloud2code can import and generate Terraform state for. Use it to see which AWS, Azure, or GCP resources are supported before running an import, or to filter and plan which resources to bring into StackGen.

Usage

cloud2code get-supported-resources [flags]

Example

List supported resources for GCP:

cloud2code get-supported-resources --cloud-provider gcp

Flags

FlagDescription
-c, --cloud-provider stringCloud provider to list supported resources for (aws, azure, gcp)
-h, --helpHelp for get-supported-resources

Global Flags

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

Cloud2Code can use ~/.stackgen/config.yaml for reading and setting up StackGen tenant details.