X

The latest cloud infrastructure announcements, technical solutions, and enterprise cloud insights.

Writing Terraform configuration files for Oracle is even easier now with these two new Resource Manager features

Gaurav Jain
Product Lead, Developer Experience

Resource Manager service is announcing two new features that make it easier to create and use Terraform configurations on Oracle Cloud:

  • Terraform template creators who have their templates hosted on GitHub, GitLab, or Object Storage can place a Deploy to Oracle Cloud button on their repositories. You can launch the template in Resource Manager with one click.

  • You can create a Resource Manager stack using the configuration you specify in the Create Compute Instance wizard available in the Console.

Resource Manager is an Oracle Cloud Infrastructure (OCI) management service that enables infrastructure-as-code. The service provides several user benefits, including collaboration, auditability, reliability, and repeatability. However, Resource Manager expects you to create a stack, a collection of configuration files written in the Terraform language. The complexity of learning the Terraform language is a challenge. To address this challenge, we introduced the following tools in the past:

Today, we are announcing the following two new features.

Deploy to Oracle Cloud button to Launch your Remote Terraform Configuration in Resource Manager

The Deploy to Oracle Cloud button helps you deploy Terraform templates in Resource Manager. You can create a button for your Terraform templates hosted on GitHub, GitLab, or Object Storage source. Upon clicking this button, you land in the Resource Manager “Create Stack” workflow with the specified template ready to deploy. Here, you can complete the stack creation process and run an apply job to eventually create resources as defined by the template.

This button helps you create Terraform templates for other users. For example, centralized IT departments create templates to have better control over resource provisioning by other groups. Trainers do so to educate their teams. Independent software vendors want to provide best-practice solutions to their customers, and developers want to share their knowledge with the community.

However, creating templates alone is not sufficient. You also want to help your users deploy it. You can utilize this button to meet that objective. To create your own button, follow these instructions. To give you some ideas, view a sample repo example.

A screenshot of an example template using the Deploy to Oracle Cloud button.

Create Resource Manager stacks from the Create Compute workflow

Now you can use the Console compute workflow to create a Resource Manager stack. You provide parameter inputs in the Console. Instead of creating the Compute instance, you can now create a Resource Manager stack that corresponds to the resource details defined by the inputs in the Terraform configuration language. You can then use this stack to programmatically create resources in OCI without having to learn Terraform.

This workflow creates the Terraform code for customers, making the onboarding process easier. If you would like to see a similar experience for other resource workflows, contact us using the contact information at the end of this post.

A screenshot of the Create Compute Instance place, showing an example instance with the Create a Stack button outlined in red.

If you’re new to the Resource Manager, see the following resources to get started:

If you have any feedback or questions about Resource Manager, send us an email.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha