Skip to content

Step 2 - Creating the terraform organization

After we have our AWS organization created under the Blotout SSO, we will now create the terraform organization for our client.

Note: You would have skipped the first step if you are following Client Infrastructure deployment strategy. For more on this read the introduction

  1. Create a terraform organization with the client's organization name prefixed with client-. For e.g. when organization name is example the terraform organization name for the client will be client-example. To know more on this, check how to create an organization in terraform cloud
  2. Create a variable set with the name of the envrionment. If organization's environment is dev then create a variable set dev-varset. To know more on this, check how to create a variable set in terraform organization
    • In the workspaces section of the variable set we can select any of the two options Apply to all workspaces in this organization or Apply to specific workspaces for now. We will change this option later.
    • Create the following variables which will be used in all the pipelines that will run for all the organization. To know more, check how to add variables to a variable set
      1. organization_name - organizaiton name of the client
      2. environment - client's env type selected
      3. aws_access_key - (sensitive) access key of the organization. We retrieved this in Step 1.
      4. aws_secret_key - (sensitive) secret key of the organization. We retrieved this in Step 1.
      5. aws_region - region preferred by client
      6. blotout_app_release_version - current stable version of self-serve

Next step

Provision the hardware infrastructure