<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Devops on plzhans blog</title><link>https://blog.plzhans.com/en/categories/devops/</link><description>Recent content in Devops on plzhans blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 30 Aug 2026 01:20:00 +0000</lastBuildDate><atom:link href="https://blog.plzhans.com/en/categories/devops/index.xml" rel="self" type="application/rss+xml"/><item><title>Terraform Practical Guide: Installation, plan/apply, AWS SSO &amp; AssumeRole, State Backend</title><link>https://blog.plzhans.com/en/posts/103-terraform-practical-guide-aws-sso-assumerole-state-backend/</link><pubDate>Wed, 06 May 2026 13:52:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/103-terraform-practical-guide-aws-sso-assumerole-state-backend/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/103-terraform-practical-guide-aws-sso-assumerole-state-backend/assets/1_38322a0f-7e83-804b-a963-f4d395ba7a9c_hu_44eac8c373d362af.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/103-terraform-practical-guide-aws-sso-assumerole-state-backend/assets/1_38322a0f-7e83-804b-a963-f4d395ba7a9c_hu_4b9c6c2e39371448.png" alt="Cover image showing the flow of declaring infrastructure as code with Terraform and operating it with AWS credentials and remote state" width="1200" height="670" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;Terraform is an IaC tool that declares infrastructure in HCL and applies changes with &lt;code&gt;plan&lt;/code&gt; and &lt;code&gt;apply&lt;/code&gt;. In team operations, a pattern of configuring &lt;strong&gt;remote state&lt;/strong&gt; together with &lt;strong&gt;AssumeRole-based credentials&lt;/strong&gt; is common.&lt;/p&gt;&#10;&lt;h3 id="what-is-terraform"&gt;What is Terraform?&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Declares infrastructure such as servers, networks, and permissions as code (HCL) and reproduces them consistently&lt;/li&gt;&#10;&lt;li&gt;Previews changes with &lt;code&gt;plan&lt;/code&gt; and creates/modifies actual resources with &lt;code&gt;apply&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;Tracks the &amp;ldquo;current infrastructure state&amp;rdquo; with a state file, managing differences between code and actual resources&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;:white_check_mark: The recommended flow is init -&amp;gt; fmt -&amp;gt; validate -&amp;gt; plan -&amp;gt; apply.&lt;/p&gt;</description></item></channel></rss>