OCI, Terraform & IaC: Creating Compartments for CIS Foundation Architecture
Eclipsys » Terraform
by Gustavo Rene Antunez
1M ago
In this third blog post series, we will be creating four main compartments Security Compartment Network Compartment App/Dev Compartment Database Compartment The compartments above are based on the CIS Foundation Architecture, which is an architecture that starts with the compartment design for the tenancy along with groups and policies for the segregation of duties. We will be using what we created in the past blog post, and we will just build on that.  The first thing I did was now instead of using a set value for the compartment resource, I use the for_each Meta-Argument. Terraform w ..read more
Visit website
OCI, Terraform & IaC: Creating a Compartment
Eclipsys » Terraform
by Gustavo Rene Antunez
1M ago
In my previous post, I talked about the setup of Terraform and a primer on what it is. In this blog post, I will create a simple resource in OCI. One of the things that I will note is that in this day and age, Terraform (TF) is a mature IaC (Infrastructure as Code) tool, so I will be relying on things that other people have done. I will credit them when I use their code, as this is more of a tutorial on how to use TF, not on how I created code for it. One of the repositories that I like is Martin Linxfeld, he does a great tutorial on how to use TF and has a cool repository. So this first part ..read more
Visit website
OCI, Terraform & IaC: Coding Myself Out Of A Job
Eclipsys » Terraform
by Gustavo Rene Antunez
1M ago
I haven’t written a blog in a while, and I have made a couple of mistakes lately that could have easily been avoided if I had done my tasks as IaC (Infrastructure as Code). So I will start a series of IaC and Terraform. I know many blogs about this, but I hope you find this helpful. I will start with an Oracle Linux 8 VM that I created in OCI to work with. I won’t go into how I set that up, but I am using the always-free version. [root@oracle-rene-cloud-ace ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.9 (Ootpa) I installed the following in the VM  yum-utils Terrafor ..read more
Visit website
How to Deploy Multi-Region Resources with Terraform: Example (OCI Public IPs)
Eclipsys » Terraform
by Kosseila Hd
10M ago
  Introductions As with any software, terraform also has hidden gems waiting to be discovered, even after you’ve obtained your associate certification. Some features aren’t always known until you need them, which is why we still have a lot to learn from the product. Today is one of those days!  In this post, I will show how to deploy Multi-Region Resources using something called provider aliases.   Why multi region deploy isn’t that common? The reason why the provider alias feature is not commonly used is that most users typically deploy resources in a single region at a time ..read more
Visit website
Cloud Recap – My Terraform Labs in 2021
Eclipsys » Terraform
by Kosseila Hd
1y ago
Intro The first time I had seen a glimpse of this Infrastructure as a CodeArtifact in 2018 (presented by Roopesh Ramklass at our TOUG meetup), I found it ugly as hell and swore to never touch it (probably confused it with Json ;)). Today I am happy to admit that I was totally wrong and it was stupid of me to judge a book by its cover. Terraform is written in Go but you don’t need to know it to understand how to run it. It is purely declarative and HashiCorp made it so easy to understand by centralizing the documentation for each cloud provider in their Terraform Registry that you p ..read more
Visit website
HashiCorp Terraform Associate Certification Takeaways
Eclipsys » Terraform
by Kosseila Hd
1y ago
Intro The thing we usually forget when completing a certification is to save a mental image of the topics that were exciting to learn or the concepts that we had no clue about right before starting the preparation. This is what practitioners should focus on after every major Cloud Certification Exam, as it provides an accurate snapshot of your feeling about the certification material. Therefore, when I was asked about my impressions on the Terraform Associate Certification Exam, I decided to share my thoughts in my blog around the prep, and my feedback on the course I followed. After tim ..read more
Visit website
Terraform in OCI: The Infamous Error 404 – NotAuthorizedOrNotFound
Eclipsys » Terraform
by Kosseila Hd
1y ago
  Intro Terraform uses API (Application Programming Interface) to interact with your Cloud Provider’s platform. Hence many error messages thrown by your Terraform deploy come directly from the cloud platform (i.e OCI services). In some cases, they prove to be very unhelpful and empty of insights, leaving you to wonder what really is breaking your deployment. These are part of what we call API Errors. In my case, I spent weeks pulling my hair off to find what was really behind my API 404 Error. Therefore, I decided to summarize what was documented and what really happened.   Service ..read more
Visit website

Follow Eclipsys » Terraform on FeedSpot

Continue with Google
Continue with Apple
OR