feat: add cloudflare workers ai config and global credentials
This commit is contained in:
40
oracle/kr/ACTIVATION_HELPER.sh
Normal file
40
oracle/kr/ACTIVATION_HELPER.sh
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
# Script to help diagnose and resolve OCI Korea region access issues
|
||||
|
||||
echo "=== OCI Korea Region Activation Helper ==="
|
||||
echo
|
||||
|
||||
echo "1. Checking current configuration..."
|
||||
echo " - Profile: korea"
|
||||
echo " - Region: ap-chuncheon-1"
|
||||
echo " - Compartment: ManagedCompartmentForPaaS"
|
||||
echo
|
||||
|
||||
echo "2. The issue appears to be that the Korea region services may not be activated for your account."
|
||||
echo
|
||||
|
||||
echo "3. Recommended actions:"
|
||||
echo " a) Go to Oracle Cloud Console: https://cloud.oracle.com"
|
||||
echo " b) Switch to the Korea (Seoul) region using the dropdown in the top-right"
|
||||
echo " c) Navigate to Virtual Cloud Networks (VCN) service"
|
||||
echo " d) Try to create a simple VCN manually to activate the region"
|
||||
echo
|
||||
|
||||
echo "4. Alternative activation method via CLI:"
|
||||
echo " # Try creating a simple VCN with minimal settings"
|
||||
echo " # Replace 'your-cidr-block' with an appropriate CIDR (e.g., '10.0.0.0/16')"
|
||||
echo " oci --profile korea network vcn create --compartment-id ocid1.compartment.oc1..aaaaaaaahn5rlnycgdjdttsgir2q3v5otzzk2hyc7xrxiebzmipzskpvaaaq --cidr-block '10.0.0.0/16' --display-name 'activation-vcn'"
|
||||
echo
|
||||
|
||||
echo "5. Once the region is activated, you can proceed with the Terraform operations:"
|
||||
echo " # Initialize Terraform"
|
||||
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform init"
|
||||
echo
|
||||
echo " # Apply the infrastructure with ch2 enabled"
|
||||
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform apply -var ch2_enabled=true -var ch3_enabled=true -var a1_storage_size_gb=50 -auto-approve"
|
||||
echo
|
||||
echo " # After infrastructure is deployed, remove ch2 and redistribute storage"
|
||||
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform apply -var ch2_enabled=false -var ch3_enabled=true -var a1_storage_size_gb=200 -auto-approve"
|
||||
echo
|
||||
|
||||
echo "=== End of Diagnostic ==="
|
||||
Reference in New Issue
Block a user