CLICommands
l4 integrations
l4 integrations shows which cloud providers (AWS, GCP, Azure, Kubernetes) are currently connected to your organization.
list
l4 integrations listReturns a table of provider_id and provider_name. Pipe through --json for scripting:
l4 integrations list --json{
"success": true,
"data": [
{ "provider_id": "aws", "provider_name": "AWS" },
{ "provider_id": "gcp", "provider_name": "GCP" }
],
"timestamp": "2026-04-27T11:00:00Z"
}Use cases
-
Discover the right
--providervalue forl4 costs/l4 recommendations:l4 integrations list --jq '.data[] | .provider_id' -
CI guardrail — fail a pipeline if a provider isn't yet connected:
l4 integrations list --jq '.data[] | select(.provider_id == "aws")' --quiet \ || { echo "AWS integration missing"; exit 1; }