Step 3 - Provision the hardware infrastructure¶
In this step we will provision the hardware infrastructure required by the organization.
- All the below operations are to be performed under the terraform organization created in the step 2.
-
Setting up the workspace
- Create a workspace with name
infraprefixed with the organization's environment type. For e.g. if env isprodthen the workspace name will beprod-infra. - Choose
/infrain theterraformgithub repository for version control with default branch pointing tomaster. - No variables are required for this workspace.
- Create a workspace with name
-
Attach this workspace to the respective variable set of the organization created in Step 2.
- Run the pipeline by Actions.
- Click on
Actionsand thenStart new runto start a new run. - Below variables are present in the output
account_id- account ID of the clienteks_cluster- information of the EKS cluster. It has the following keys -name- name of the EKS cluster.version- kubernetes major version of the EKS cluster. For e.g.
environment- environment type of the EKS cluster.organization_name- name of the organizationrds_details- details of the database (inside VPC). It has the following keys -endpoint- accessible endpoint of the database inside the VPC.engine- current engine of the databasename- name tag for the database. For e.g.
region- client's preferred region
- These variables are informative and not neccessary to interpret.
- Click on