// Module included in the following assemblies:
//
// * installing/installing_oci/installing-c3-assisted-installer.adoc

:_mod-docs-content-type: PROCEDURE
[id="c3-ai-running-script-via-home_{context}"]
= Running the Terraform script via the Home region

[role="_abstract"]
Copy the Terraform scripts `createInfraResources.tf` and `terraform.tfvars` onto the bastion server. Then run the `createInfraResources.tf` script to create the Dynamic Group Identity resources on your {oci-first-no-rt} Home Region.

These resources include dynamic groups, policies, and tags.

.Prerequisites

* You have tenancy privileges to create Dynamic Groups and Policies. If not, you can manually provision them during this procedure.

.Procedure

. Connect to the bastion server via SSH.

. Create `OpenShift\createResourceOnHomeRegion` folders.

. Copy the `createInfraResources.tf` and `terraform.tfvars` files from the C3_PCA GitHub repository into the `createResourceOnHomeRegion` folder.

. Ensure that you have access to the source environment, and that your C3 certificate has been exported.

. Run the `createInfraResources.tf` Terraform script.
+
For the full procedure, see the "Terraform Script Execution Part-1 (Run Script via Home Region)" section in the link:https://www.oracle.com/a/otn/docs/compute_cloud_at_customer_assisted_installer.pdf?source=:em:nl:mt::::PCATP[Oracle documentation].