Skip to content

cloud-agent status

The status command validates your local environment to ensure it is ready for deploying to a specific cloud provider. It can run in two modes: a basic check (no API key needed) or an AI-powered comprehensive check.

Terminal window
cloud-agent status [options]
FlagDescription
-c, --cloud <provider>Cloud provider to check. One of aws, gcp, azure. Defaults to the configured default or aws.

If no AI API key is configured, status runs basic checks:

  1. CLI installed — runs aws --version, gcloud --version, or az --version and reports the version
  2. Authentication — runs the provider’s identity command (aws sts get-caller-identity, gcloud auth list, or az account show)

If an API key is available, the validator agent runs a comprehensive check:

  1. CLI Tool Verification — checks installation and version currency
  2. Authentication Status — verifies active authentication and identifies the user/account
  3. Environment Variables — checks for required provider-specific variables
  4. Network Connectivity — tests connectivity to cloud provider APIs and measures latency
  5. Permission Verification — attempts basic operations to verify you have sufficient permissions
── Environment Status Check ──────────
Checking AWS environment...
✓ CLI installed (aws-cli/2.15.0)
✓ Authenticated
── Environment Status Check ──────────
Checking AWS environment...
✓ Environment checks complete
ℹ Check Results:
✅ CLI Tool: AWS CLI v2.15.0 is installed and up to date
✅ Authentication: Authenticated as arn:aws:iam::123456789:user/deploy-user
✅ Env Variables: All required environment variables are set
✅ Network: Connection to AWS APIs successful (45ms)
⚠️ Permissions: Limited permissions detected
Issues found:
⚠️ ECS permissions not verified - you may need AmazonECS_FullAccess
Fix: Attach the AmazonECS_FullAccess policy to your IAM user
⚠ Environment needs some configuration. See issues above.

The AI-powered check categorizes issues:

SeverityMeaning
errorBlocks deployment. Must be fixed before deploying.
warningMay cause issues. Should be fixed but deployment might still work.
infoOptional improvements. Nice to have but not required.

Run status before deploy to catch configuration issues early:

Terminal window
# Check AWS environment
cloud-agent status --cloud aws
# If everything passes, proceed to deploy
cloud-agent deploy --cloud aws

The deploy command also runs environment validation as its first phase, but running status separately lets you diagnose issues without starting the full deployment workflow.