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

Categories

More from Announcements

IBM TechXchange underscores the importance of AI skilling and partner innovation

3 min read - Generative AI and large language models are poised to impact how we all access and use information. But as organizations race to adopt these new technologies for business, it requires a global ecosystem of partners with industry expertise to identify the right enterprise use-cases for AI and the technical skills to implement the technology. During TechXchange, IBM's premier technical learning event in Las Vegas last week, IBM Partner Plus members including our Strategic Partners, resellers, software vendors, distributors and service…

Introducing Inspiring Voices, a podcast exploring the impactful journeys of great leaders

< 1 min read - Learning about other people's careers, life challenges, and successes is a true source of inspiration that can impact our own ambitions as well as life and business choices in great ways. Brought to you by the Executive Search and Integration team at IBM, the Inspiring Voices podcast will showcase great leaders, taking you inside their personal stories about life, career choices and how to make an impact. In this first episode, host David Jones, Executive Search Lead at IBM, brings…

IBM watsonx Assistant and NICE CXone combine capabilities for a new chapter in CCaaS

5 min read - In an age of instant everything, ensuring a positive customer experience has become a top priority for enterprises. When one third of customers (32%) say they will walk away from a brand they love after just one bad experience (source: PWC), organizations are now applying massive investments to this experience, particularly with their live agents and contact centers.  For many enterprises, that investment includes modernizing their call centers by moving to cloud-based Contact Center as a Service (CCaaS) platforms. CCaaS solutions…

See what’s new in SingleStoreDB with IBM 8.0

3 min read - Despite decades of progress in database systems, builders have compromised on at least one of the following: speed, reliability, or ease. They have two options: one, they could get a document database that is fast and easy, but can’t be relied on for mission-critical transactional applications. Or two, they could rely on a cloud data warehouse that is easy to set up, but only allows lagging analytics. Even then, each solution lacks something, forcing builders to deploy other databases for…