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: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: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 Pragmatiks model.
CLI Reference
Explore all available commands.