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
- Create a terraform organization with the client's organization name prefixed with
client-
. For e.g. when organization name isexample
the terraform organization name for the client will beclient-example
. To know more on this, check how to create an organization in terraform cloud - Create a variable set with the name of the envrionment. If organization's environment is
dev
then create a variable setdev-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
orApply 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
organization_name
- organizaiton name of the clientenvironment
- client's env type selectedaws_access_key
- (sensitive) access key of the organization. We retrieved this in Step 1.aws_secret_key
- (sensitive) secret key of the organization. We retrieved this in Step 1.aws_region
- region preferred by clientblotout_app_release_version
- current stable version of self-serve
- In the workspaces section of the variable set we can select any of the two options
Next step¶
Provision the hardware infrastructure