Running products locally
Instead of deploying the product using the automated process from the catalog tile, you can manually deploy the solution locally. This user should be very familiar with Terraform.
Before you begin
Install the IBM Cloud CLI and the Catalog Management CLI plug-in.
Installing from the CLI
- Copy into a file named
main.tf
and set the values for "environment_name" and "ibm_region". - Configure .netrc file with authentication token for IBM Cloud:
ibmcloud catalog netrc
. - Export the value of your IBM Cloud API key for the IBM Terraform provider:
export IC_API_KEY=<your apiKey value>
. If you have not yet created an API key, seeCreating an API key
at https://cloud.ibm.com/docs/account?topic=account-userapikey&interface=ui#create_user_key. - Run the command
terraform init
to download all needed terraform modules. - Run the command
terraform plan
to see what resources will be created. - Run the command
terraform apply
to create the resources. This might take some time.