Configuring an IBM Cloud connection
For Managed services to access your IBM Cloud environment, specify the IBM Cloud API key to deploy IBM Cloud services, and also the IBM Cloud User and IBM Cloud Classic Infrastructure API Key to deploy IBM Cloud classic infrastructure like compute instances.
- IBM Cloud API Key - Enter the IBM Cloud API key that is associated with your user identity.
- IBM Cloud Classic Infrastructure User Name and IBM Cloud Classic Infrastructure API Key fields - Enter the IBM Cloud user name and the IBM Cloud classic infrastructure API key values respectively.
To retrieve the IBM Cloud Classic Infrastructure User Name:
- Log in to the IBM Cloud Portal.
- Click Manage > Access (IAM) > Users.
- Select the user from the list. The User details tab of the Manage user page displays.
- The User name value, a combination of a
number_emailIDis listed under the VPN Password section.
To retrieve the IBM Cloud Classic Infrastructure API Key values:
- Log in to the IBM Cloud Portal.
- Click Manage > Access (IAM) > API keys > In View dropdown, select Classic infrastructure API keys >.
- In the returned list, select the additional action icon (vertical ellipses) > Details > Copy the API key.
To create the IBM Cloud API Key values:
- Log in to the IBM Cloud Portal.
- Click Manage > Access (IAM) > API keys > In View dropdown, select My IBM Cloud API Keys >.
- Click Create an IBM Cloud API key to create a new one.
For more details, see IBM Cloud IAM
.
For information about the available Terraform resources, see
IBM
Cloud Provider
.
Note: If you created templates with an old
version that uses
.
terraform-provider-ibm older than
v0.4, be aware that the resource names for the IBM Cloud provider
were changed. For more information, see
Migrating to v0.4