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

Success and recognition of IBM offerings in G2 Summer Reports  

2 min read - IBM offerings were featured in over 1,365 unique G2 reports, earning over 230 Leader badges across various categories.   This recognition is important to showcase our leading products and also to provide the unbiased validation our buyers seek. According to the 2024 G2 Software Buyer Behavior Report, “When researching software, buyers are most likely to trust information from people with similar roles and challenges, and they value transparency above other factors.”  With over 90 million visitors each year and hosting more than 2.6…

Manage the routing of your observability log and event data 

4 min read - Comprehensive environments include many sources of observable data to be aggregated and then analyzed for infrastructure and app performance management. Connecting and aggregating the data sources to observability tools need to be flexible. Some use cases might require all data to be aggregated into one common location while others have narrowed scope. Optimizing where observability data is processed enables businesses to maximize insights while managing to cost, compliance and data residency objectives.  As announced on 29 March 2024, IBM Cloud® released its next-gen observability…

Unify and share data across Netezza and watsonx.data for new generative AI applications

3 min read - In today's data and AI-driven world, organizations are generating vast amounts of data from various sources. The ability to extract value from AI initiatives relies heavily on the availability and quality of an enterprise's underlying data. In order to unlock the full potential of data for AI, organizations must be able to effectively navigate their complex IT landscapes across the hybrid cloud.   At this year’s IBM Think conference in Boston, we announced the new capabilities of IBM watsonx.data, an open…

IBM Newsletters

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