<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>The Ops Community ⚙️: Luiz Bernardo</title>
    <description>The latest articles on The Ops Community ⚙️ by Luiz Bernardo (@bernardo).</description>
    <link>https://community.ops.io/bernardo</link>
    <image>
      <url>https://community.ops.io/images/fhiuOodE3kvp4O_dZ1aimnaJbJ-DcRsR4ADYiN_5ZDI/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL3Vz/ZXIvcHJvZmlsZV9p/bWFnZS8xODE0L2Fi/NTEzOTY1LThjN2Mt/NDRiMS1iNjhlLTVh/ZWM0ODA3OTNmMy5q/cGVn</url>
      <title>The Ops Community ⚙️: Luiz Bernardo</title>
      <link>https://community.ops.io/bernardo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://community.ops.io/feed/bernardo"/>
    <language>en</language>
    <item>
      <title>Terraform plan visualization</title>
      <dc:creator>Luiz Bernardo</dc:creator>
      <pubDate>Thu, 16 Mar 2023 12:17:46 +0000</pubDate>
      <link>https://community.ops.io/bernardo/terraform-plan-visualization-5a35</link>
      <guid>https://community.ops.io/bernardo/terraform-plan-visualization-5a35</guid>
      <description>&lt;p&gt;The output of terraform plan is essential to understand the changes that Terraform makes in your infrastructure. However, this can quickly become difficult to visualize. Rover is an open-source tool that visualizes the Terraform plan, allowing you to explore and identify resource changes quickly. I have been using it to generate the architectural diagram to present to clients.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/im2nguyen/rover"&gt;https://github.com/im2nguyen/rover&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>cloudops</category>
      <category>cicd</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Import Terraform</title>
      <dc:creator>Luiz Bernardo</dc:creator>
      <pubDate>Tue, 07 Mar 2023 12:28:33 +0000</pubDate>
      <link>https://community.ops.io/bernardo/import-terraform-466k</link>
      <guid>https://community.ops.io/bernardo/import-terraform-466k</guid>
      <description>&lt;p&gt;It's unlikely that you will deal only with greenfield in cloud infrastructure, so how can you continue to use IAC with the components that are already in production?&lt;/p&gt;

&lt;p&gt;You can import existing infrastructure resources into Terraform with terraform import.&lt;/p&gt;

&lt;p&gt;In the provider's resource documentation, there is always an example of how to import that resource into Terraform.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;In the aws_instance resource documentation (&lt;a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance"&gt;https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance&lt;/a&gt;), it shows an example of importing instances:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight terraform"&gt;&lt;code&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="k"&gt;terraform&lt;/span&gt; &lt;span class="nx"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;aws_instance&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;web&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;12345678&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The current implementation (terraform_1.3.4) of Terraform's import can only import resources into the state. It does not generate configuration. A future version of Terraform will also generate configuration.&lt;/p&gt;

&lt;p&gt;Therefore, before running terraform import, it is necessary to manually write a resource configuration block to which the imported object will be mapped.&lt;/p&gt;

&lt;p&gt;Although this may seem tedious, it still offers Terraform users a path to import existing resources.&lt;/p&gt;

&lt;p&gt;The following link is a practical tutorial on how to import resources into Terraform: &lt;br&gt;
&lt;a href="https://developer.hashicorp.com/terraform/tutorials/state/state-import?utm_source=WEBSITE&amp;amp;utm_medium=WEB_IO&amp;amp;utm_offer=ARTICLE_PAGE&amp;amp;utm_content=DOCS"&gt;https://developer.hashicorp.com/terraform/tutorials/state/state-import?utm_source=WEBSITE&amp;amp;utm_medium=WEB_IO&amp;amp;utm_offer=ARTICLE_PAGE&amp;amp;utm_content=DOCS&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>tutorials</category>
      <category>devops</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Free courses and labs for Jenkins</title>
      <dc:creator>Luiz Bernardo</dc:creator>
      <pubDate>Sun, 19 Feb 2023 16:43:10 +0000</pubDate>
      <link>https://community.ops.io/bernardo/free-courses-and-labs-for-jenkins-2bc5</link>
      <guid>https://community.ops.io/bernardo/free-courses-and-labs-for-jenkins-2bc5</guid>
      <description>&lt;h2&gt;
  
  
  1. TUTORIALS
&lt;/h2&gt;

&lt;p&gt;🔴 Learn Jenkins! Complete Jenkins Course -&lt;br&gt;
Zero to Hero&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=6YZvp2GwT0A"&gt;https://www.youtube.com/watch?v=6YZvp2GwT0A&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins CI CD By Mr. Ashok | DevOps Tools&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=Ri-URt8gPCk"&gt;https://www.youtube.com/watch?v=Ri-URt8gPCk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins Full Course | Jenkins Tutorial For Beginners&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=MayMkFCkzj4"&gt;https://www.youtube.com/watch?v=MayMkFCkzj4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins Full Course in 4 Hours | Jenkins Tutorial For Beginners&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=3a8KsB5wJDE"&gt;https://www.youtube.com/watch?v=3a8KsB5wJDE&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins Tutorial for Beginners&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=EYA2YNHHPls"&gt;https://www.youtube.com/watch?v=EYA2YNHHPls&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins Full Course&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=QIhRgW7OhPY"&gt;https://www.youtube.com/watch?v=QIhRgW7OhPY&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Advanced Jenkins tutorial&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/playlist?list=PLTCuRW0ikUdPL7ljUHbbhXGB5us5wj639"&gt;https://www.youtube.com/playlist?list=PLTCuRW0ikUdPL7ljUHbbhXGB5us5wj639&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. LABS
&lt;/h2&gt;

&lt;p&gt;🔴 Jenkins Tutorial - How to Deploy a Test Server with Docker + Linux (Full Course)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=f4idgaq2VqA"&gt;https://www.youtube.com/watch?v=f4idgaq2VqA&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Live DevOps Project for Resume - Jenkins&lt;br&gt;
CICD with Git Hub Integration&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=nplH3BzKHPk"&gt;https://www.youtube.com/watch?v=nplH3BzKHPk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 JENKINS PIPELINE FROM SCRATCH&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=Tsex1y94060"&gt;https://www.youtube.com/watch?v=Tsex1y94060&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Amit Kumar Gupta : Cicd Series 1-9&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/playlist?list=PLnKRMdDSbUHCN1lrfgVYsrZu1vhs4FZSk"&gt;https://www.youtube.com/playlist?list=PLnKRMdDSbUHCN1lrfgVYsrZu1vhs4FZSk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 CICD pipeline for Java application to deploy on kubernetes cluster using Jenkins&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=adG0vq5boL8"&gt;https://www.youtube.com/watch?v=adG0vq5boL8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins Cicd deployment&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=PXq2OsdxkqU"&gt;https://www.youtube.com/watch?v=PXq2OsdxkqU&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Mega Real-time End to End DevOps CI/CD Project Git Jenkins Nexus SonarQube| HandsOn Lab&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=Yk7k3yEguQA"&gt;https://www.youtube.com/watch?v=Yk7k3yEguQA&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Setting up CI-CD Pipeline for an E-Commerce App&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=jgO3u9CH5tk"&gt;https://www.youtube.com/watch?v=jgO3u9CH5tk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=3ixEo13ZdsU"&gt;https://www.youtube.com/watch?v=3ixEo13ZdsU&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Jenkins CI/CD Workflow Implementation with Real-time&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=s7pNKD1cSAM"&gt;https://www.youtube.com/watch?v=s7pNKD1cSAM&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔴 Production Ready CI/CD Pipeline Setup&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/playlist?list=PLxzKY3wu0_FJdJd3IKdiM4Om1hGo2Hsdt"&gt;https://www.youtube.com/playlist?list=PLxzKY3wu0_FJdJd3IKdiM4Om1hGo2Hsdt&lt;/a&gt;&lt;/p&gt;

</description>
      <category>jenkins</category>
      <category>tutorials</category>
      <category>video</category>
      <category>career</category>
    </item>
    <item>
      <title>Modules Terraform</title>
      <dc:creator>Luiz Bernardo</dc:creator>
      <pubDate>Sat, 18 Feb 2023 20:10:35 +0000</pubDate>
      <link>https://community.ops.io/bernardo/modules-terraform-247d</link>
      <guid>https://community.ops.io/bernardo/modules-terraform-247d</guid>
      <description>&lt;p&gt;In Terraform, a module behaves like a class, so you can even apply the main characteristics of object-oriented programming, such as Encapsulation, Inheritance, and Polymorphism.&lt;/p&gt;

&lt;p&gt;To facilitate implementation, we have the Root Module, which consists of the resources defined in the .tf files of the main working directory, the Child Modules, which is a module called by the root module to include its resources in the configuration, and the Published Modules, which is a module of a public or private configuration published on a service such as Terraform Cloud, Terraform Enterprise, or GitHub.&lt;/p&gt;

&lt;p&gt;A good module should raise the level of abstraction by describing a new concept in its architecture that is built from resource types offered by providers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.hashicorp.com/terraform/tutorials/modules?utm_source=WEBSITE&amp;amp;utm_medium=WEB_IO&amp;amp;utm_offer=ARTICLE_PAGE&amp;amp;utm_content=DOCS"&gt;https://developer.hashicorp.com/terraform/tutorials/modules?utm_source=WEBSITE&amp;amp;utm_medium=WEB_IO&amp;amp;utm_offer=ARTICLE_PAGE&amp;amp;utm_content=DOCS&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>devops</category>
      <category>cloudops</category>
      <category>cicd</category>
    </item>
    <item>
      <title>HCL Native Syntax Specification</title>
      <dc:creator>Luiz Bernardo</dc:creator>
      <pubDate>Thu, 16 Feb 2023 12:42:04 +0000</pubDate>
      <link>https://community.ops.io/bernardo/hcl-native-syntax-specification-1cng</link>
      <guid>https://community.ops.io/bernardo/hcl-native-syntax-specification-1cng</guid>
      <description>&lt;p&gt;Hey there, folks who have been playing with Terraform for a while, have you taken a look at the native syntax specification of HCL?&lt;/p&gt;

&lt;p&gt;HashiCorp Configuration Language (HCL) is a unique configuration language. It was designed to be used with HashiCorp tools, notably Terraform, but HCL has expanded as a more general configuration language. It is visually similar to YAML (an improved JSON) with built-in data structures and additional resources.&lt;/p&gt;

&lt;p&gt;HCL consists of three sub-languages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structural (blocks)&lt;/li&gt;
&lt;li&gt;Expression (arguments)&lt;/li&gt;
&lt;li&gt;Templates (identifiers)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's really worth taking a look at the specification as it clearly outlines the available operators and delimiters, structural elements, functions and function calls, conditional operator (used for feature flagging), interpolation unpacking, and many other cool things to use in large projects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/hashicorp/hcl/blob/main/hclsyntax/spec.md"&gt;https://github.com/hashicorp/hcl/blob/main/hclsyntax/spec.md&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>productivity</category>
      <category>devops</category>
      <category>hcl</category>
    </item>
  </channel>
</rss>
