How do I run that script? I have already installed the gcloud and terraform CLIs
How do I run that script? I have already installed the gcloud and terraform CLIs.

To run the script, follow these steps:

1. Open a terminal or command prompt.

2. Navigate to the directory where you have saved the Terraform script (.tf or .tf.json files).

3. Authenticate your Google Cloud account by running the following command:

   ```
   gcloud auth login
   ```

   If you have already logged in, you can skip this step.

4. Set the project you want to work with:

   ```
   gcloud config set project <YOUR_PROJECT_ID>
   ```

   Replace `<YOUR_PROJECT_ID>` with your Google Cloud project ID.

5. Initialize the Terraform working directory:

   ```
   terraform init
   ```

6. Review the Terraform files to understand what resources will be created.

7. To create the resources defined in the Terraform files, run:

   ```
   terraform apply
   ```

   This command will show a summary of the resources to be created. Type `yes` when prompted to continue.

8. After the resources have been created, you can destroy them by running:

   ```
   terraform destroy
   ```

   Type `yes` when prompted to confirm the destruction
  Great! To run the script, you can follow these steps:

1. Open a terminal window and navigate to the directory where you saved the script.
2. Run the following command to run the script:
```
./deploy-gke-cluster.sh
```
This will run the script and execute the commands it contains.
3. The script will prompt you to enter the name of the project and the region where you want to deploy the cluster. Please enter the appropriate values and press Enter.
4. The script will then create the necessary resources in Google Cloud Platform, including the Kubernetes engine cluster, the network, and the firewall rules. This may take a few minutes to complete, depending on the size of your cluster and the speed of your internet connection.
5. Once the deployment is complete, you can verify that the cluster has been created by running the following command:
```
gcloud kubectl get clusters
```
This will list all the clusters in your project, and you should see the name of the cluster you created.

That's it! You have successfully deployed a Kubernetes cluster on Google Cloud Platform using Terraform and the gcloud CLI.