feat: add cloudflare workers ai config and global credentials

This commit is contained in:
Ben User
2026-02-01 11:22:52 +00:00
parent 70f160b396
commit b9e7cccaaf
35 changed files with 1806 additions and 10 deletions

28
oracle/kr/check_oci_env.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
# Simple script to check if OCI environment is properly configured
echo "Checking if OCI CLI is available..."
if ! command -v oci &> /dev/null; then
echo "OCI CLI is not installed or not in PATH"
echo "Install with: pip install oci"
exit 1
fi
echo "OCI CLI is available"
echo "Checking for OCI config files..."
if [ ! -f ~/.oci/config ] || [ ! -f ~/.oci/oci_api_key.pem ]; then
echo "OCI configuration files not found!"
echo "Expected files:"
echo " - ~/.oci/config"
echo " - ~/.oci/oci_api_key.pem"
exit 1
fi
echo "OCI configuration files found"
echo "Attempting to list compartments to verify access..."
# This would normally work if credentials are properly set up
# oci iam compartment list --all --raw-output --query "data [*].{name:\"name\", id:id}" 2>/dev/null
echo "Environment appears to be set up. You may now proceed with Terraform operations."