Terraform state file management

Following up on my previous post about storing the terraform state file on a remote object storage location, I would like to talk about the terraform state command The terraform state command is used for advanced state management. As your Terraform usage becomes more advanced, there are some cases where you may need to modify the Terraform state. Rather than … Continue reading Terraform state file management

How to retrieve an OCI Marketplace image id using advanced functionality in the OCI CLI utility

If you ever need to deploy an OCI Marketplace image using your automation, the information that you will have to feed to your script will be: "listingId": "ocid1.appcataloglisting.oc1..aaaaaaaam7ewzrjbltqiarxukuk72v2lqkdtpqtwxqpszqqvrm7likfnpt5q", "listingResourceId": "ocid1.image.oc1..aaaaaaaaa5u7qtj3j3um4zryg3qkn6if2sqctqjfh46pdq5z56kq6zagg4va", Let's say we need to find this information for a specific Marketplace image, like RocketChat: We can use the OCI cli to retrieve the details needed … Continue reading How to retrieve an OCI Marketplace image id using advanced functionality in the OCI CLI utility

USE OCI OBJECT STORAGE TO STORE TERRAFORM STATE FILES

Introduction Terraform allows you to deploy infrastructure very quickly, and you can find thousands of script/modules/snippets on the web to get you started in a snap. Once you move from the "Let's try this at home" phase to a more "Let's do this for a real environment" oriented phase you will have to make a … Continue reading USE OCI OBJECT STORAGE TO STORE TERRAFORM STATE FILES

Create a custom OCI image using Packer and the OCI Cloud Shell

Today we would like to show you how to bake a custom image in OCI using packer, a tool that complements terraform in creating Infrastructure as a code deployment. We will use an OCI standard Oracle Autonomous Linux Image, and create a custom one that consists of the original image, plus the Oracle instant client … Continue reading Create a custom OCI image using Packer and the OCI Cloud Shell