Developers can then use the Terraform CLI to provision new resources and extract service keys needed to access those services.IBM SmartCloud Notes (which is part of IBM Connections Cloud) is a full featured, email service designedįor business and delivered by IBM and supported by e-solutions. This allows IBM Cloud services to be defined through custom configuration primitives. IBM Cloud provides an official provider plugin for Terraform. This configuration is maintained in the application’s source code repository to enable reproducible environments. Provisioning cloud services using Terraform is a great way to manage application resources on IBM Cloud.Īpplications resources are defined in a declarative configuration file, following the “infrastructure-as-code” approach to managing cloud environments. )Īpply complete! Resources: 2 added, 0 changed, 0 destroyed.ĪPI keys from the cloudant_credentials output section can be used applications to interact with the provisioned database! ??? Conclusion Ibm_resource_key.cloudant_key: Creation complete after 8s (ID. Resource_instance_id: "" => "crn:v1:bluemix:public:cloudantnosqldb:us-south:a/.::" Ibm_resource_instance.cloudant: Creation complete after 21s (ID. Ibm_resource_instance.cloudant: Still creating. ibm_resource_instance.cloudant: Creating. Here is the example output from running that command with the Cloudant database example. Terraform will now provision the platform services, resources keys and output credentials to the console.
The apikey property in the JSON output is the API key value. Ibmcloud iam api-key-create terraform-api-key
This blog post will teach you how to provision applications services on IBM Cloud with Terraform.