Check Resource Status
List all your installed resources:[READY] status indicates your bucket was provisioned successfully.
Understanding Lifecycle States
Resources move through several states during provisioning:| State | Meaning |
|---|---|
| PENDING | Queued and waiting - either for dependencies to be ready or for processing to begin |
| PROCESSING | Currently being processed by the provider |
| READY | Successfully provisioned and operational |
| FAILED | Something went wrong during provisioning |
Get Resource Details
View detailed information about a specific resource:- Current lifecycle state
- Configuration values
- Output values (like the bucket URL)
- Any error messages if the resource failed
Verify in GCP Console
You can also confirm the resource exists in your GCP project:- Open the Google Cloud Console
- Navigate to Cloud Storage > Buckets
- Find your bucket by name (it will have a unique suffix like
my-first-bucket-abc123)
EU in the quickstart example).
Troubleshooting Verification Failures
Resource Stuck in PENDING
If a resource stays in PENDING state for more than a few minutes:- Check dependencies - Resources wait for their dependencies to reach READY first
- Verify credentials - Your GCP credentials may have expired
Resource Shows FAILED
A failed resource means something went wrong during provisioning. Check the error details:| Error | Solution |
|---|---|
| Permission denied | Ensure your GCP account has Storage Admin role |
| Quota exceeded | Check your project quotas in GCP Console |
| Invalid configuration | Review your YAML for typos or invalid values |
Resource Not Appearing in List
Ifpragma resources list shows nothing:
- Verify you applied the resource with
pragma resources apply bucket.yaml - Check you’re authenticated:
pragma auth whoami - Ensure the YAML file has valid syntax
Recovering from Failures
If your resource is in FAILED state:- Check the error message with
pragma resources get - Fix the underlying issue (permissions, configuration, etc.)
- Re-apply the resource:
Next Steps
How It Works
Understand the pragma-os model.
CLI Reference
Explore all available commands.