June 30, 2022 By Helen Tang 2 min read

Update [February 20, 2023]: We have completed the rearchitecture.

Since this blog was first published, we have completed our rearchitecture of the Cloud Databases Terraform provider. As such, we will be sunsetting some of the old attributes in favor of the streamlined structure on June 30, 2023; when using versions 1.48.x and above, we advise all deprecated attributes to be migrated over to avoid breaking any existing automation.

For a quick look at changes and deprecations, images below have been updated to log all deprecations.

In addition, we have also surfaced new features to enable Autoscaling (auto_scaling), Backups (database_backups), Remotes (database_remotes), and more. Our registry link is provided at the end.

Manage your resources seamlessly with the IBM Cloud Databases Terraform provider

Here at IBM Cloud Databases, we recognize the importance that Infrastructure as Code services like Terraform play in the developer’s toolkit. As a result, we’re streamlining our Terraform development process to highlight this focus, shortening our lead time for feature development with the goal of tighter feature parity with our API. In addition, we’ll be restructuring our Terraform offering to be in sync with Terraform best practices, creating a resource model that is scalable and easier to use. 

Right now, the Terraform resource contains a long, non-hierarchical list of attributes in a single resource, which we recognize creates an unwieldy experience. Version 1.41.0, launched in the beginning of May 2022, begins our journey into providing a simpler, modular structure while bringing you new features like MongoDB Analytics Node and Business Intelligence Connector. 

What will this look like for you? 

You’ll see new features included in this journey. We just added new data sources for backups (ibm_database_backups) and point-in-time recovery (ibm_database_point_in_time_recovery), and we’re excited because we have more to come with each iteration.  

With restructuring, the main ibm_database resource will remain as the top-level resource, with new resources and data sources added underneath. 

Let’s look at an example. Below, the functionality of node_memory_allocation_mb and node_disk_allocation_mb attributes is moved into the group{ } attribute. This increases clarity when provisioning databases, where previously we had both node_memory_allocation_mb and members_memory_allocation_mb, and it was harder to know whether sizes referred to per-member or total resource values:

Attributes removed

We know any change can be painful, especially if you have multiple databases with us. Our goal is to provide a smoother, more robust Terraform resource that can handle all your database estate needs. The older attribute versions are still currently supported, with the end-of-life process beginning on June 30, 2023, allowing a year’s time to transition to the new structure. 

Further information

More from Announcements

IBM named a Leader in Gartner Magic Quadrant for SIEM, for the 14th consecutive time

3 min read - Security operations is getting more complex and inefficient with too many tools, too much data and simply too much to do. According to a study done by IBM, SOC team members are only able to handle half of the alerts that they should be reviewing in a typical workday. This potentially leads to missing the important alerts that are critical to an organization's security. Thus, choosing the right SIEM solution can be transformative for security teams, helping them manage alerts…

IBM and MuleSoft expand global relationship to accelerate modernization on IBM Power 

2 min read - As companies undergo digital transformation, they rely on APIs as the backbone for providing new services and customer experiences. While APIs can simplify application development and deliver integrated solutions, IT shops must have a robust solution to effectively manage and govern them to ensure that response times and costs are kept low for all applications. Many customers use Salesforce’s MuleSoft, named a leader by Gartner® in full lifecycle API management for seven consecutive times, to manage and secure APIs across…

IBM Consulting augments expertise with AWS Competencies: A win-win for clients 

3 min read - In today's dynamic economic landscape, businesses demand continuous innovation and speed of execution. At IBM Consulting®, our unwavering focus on partnerships and shared commitment to delivering enterprise-level solutions to mutual clients have been core to our success.   We are thrilled to announce that IBM® has recently gained five competencies from Amazon Web Services (AWS) in vital domains including Cloud Operations, Internet of Things (IoT), Life Sciences, Mainframe Modernization, and Telecommunications. With these credentials, IBM further establishes its position as a…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters