<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>EKS quickstart labs on IaC Stack Controller</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/</link><description>Recent content in EKS quickstart labs on IaC Stack Controller</description><generator>Hugo</generator><language>en</language><atom:link href="https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/index.xml" rel="self" type="application/rss+xml"/><item><title>1. Apply a security group directly</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/direct-apply/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/direct-apply/</guid><description>&lt;h2 id="what-you-will-try"&gt;What you will try&lt;/h2&gt;
&lt;p&gt;Create an empty security group in the lab VPC. Watch Terraform propose one resource and Argo automatically proceed to apply.&lt;/p&gt;
&lt;h2 id="1-check-eks-and-the-workflow"&gt;1. Check EKS and the workflow&lt;/h2&gt;
&lt;p&gt;Complete &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/"&gt;Prepare EKS for the labs&lt;/a&gt;. In the eks-lab working directory with the rendered files, check the context and read the manifest before submitting it.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl config current-context
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n argo-workflows get workflowtemplate iacstack-direct-aws-sg
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat rendered/direct-stack.yaml
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;img src="https://f7f6c581.iac-stack-controller.pages.dev/diagrams/workflow-direct.en.svg" alt="Terraform execution flow"&gt;&lt;/p&gt;
&lt;h3 id="where-is-this-scenarios-pipeline"&gt;Where is this scenario’s pipeline?&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Request:&lt;/strong&gt; &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/examples/eks-lab/direct-stack.yaml"&gt;direct-stack.yaml&lt;/a&gt; · &lt;strong&gt;Alias registration:&lt;/strong&gt; &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/examples/eks-lab/controller-values.yaml"&gt;controller-values.yaml&lt;/a&gt; · &lt;strong&gt;Full pipeline:&lt;/strong&gt; &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/examples/eks-lab/workflows/direct.yaml"&gt;direct.yaml&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>2. Apply with approval</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/manual-approval/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/manual-approval/</guid><description>&lt;h2 id="what-you-will-try"&gt;What you will try&lt;/h2&gt;
&lt;p&gt;Create an approval-gated security group in the lab VPC. You can run this scenario right after setup; the direct lab is not a prerequisite. Compared with direct apply, this scenario adds an HTML Plan Review and waits for your decision in Argo before creating the resource. It does not use OPA.&lt;/p&gt;
&lt;h2 id="1-check-eks-and-the-workflow"&gt;1. Check EKS and the workflow&lt;/h2&gt;
&lt;p&gt;Complete &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/"&gt;Prepare EKS for the labs&lt;/a&gt;. In the eks-lab working directory with the rendered files, check the context and read the manifest before submitting it.&lt;/p&gt;</description></item><item><title>3. Govern with OPA</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/opa-governance/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/opa-governance/</guid><description>&lt;h2 id="what-you-will-try"&gt;What you will try&lt;/h2&gt;
&lt;p&gt;You can run this scenario immediately after setup. OPA uses the rules in &lt;code&gt;policy.rego&lt;/code&gt; to select one of three paths from the Terraform plan. A private bucket proceeds automatically, a public bucket is denied and a new VPC waits for human review.&lt;/p&gt;
&lt;h2 id="1-check-eks-and-the-workflow"&gt;1. Check EKS and the workflow&lt;/h2&gt;
&lt;p&gt;Complete &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/"&gt;Prepare EKS for the labs&lt;/a&gt;. In the eks-lab working directory with the rendered files, check the context and read the manifest before submitting it.&lt;/p&gt;</description></item><item><title>Lab teardown</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/cleanup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/cleanup/</guid><description>&lt;p&gt;The stacks use deletionPolicy: Retain. To remove created resources, keep the cluster, runner, roles and state available while Terraform plans the destroy. Verify the ID and AWS account of each target.&lt;/p&gt;
&lt;p&gt;Confirm the target first: the direct workflow can apply a destroy plan without pausing.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# One existing lab stack at a time&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;STACK&lt;span style="color:#f92672"&gt;=&lt;/span&gt;direct-apply-security-group
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n platform-system patch iacstack &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; --type&lt;span style="color:#f92672"&gt;=&lt;/span&gt;merge &lt;span style="color:#ae81ff"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; -p &lt;span style="color:#e6db74"&gt;&amp;#39;{&amp;#34;spec&amp;#34;:{&amp;#34;lifecycle&amp;#34;:{&amp;#34;destroy&amp;#34;:true}}}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n platform-system get iacstack &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; -w
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Open the attempt in Argo and review the planned deletions. Where a gate is present, approve only the expected lab resources. Repeat for manual-approval-security-group, opa-s3-private and opa-vpc if created. The denied opa-s3-public stack never created a bucket. Check each destination again using its tutorial query before removing its IaCStack. Earlier lab rounds included cleanup. End-to-end governed teardown of the parameterized example still needs acceptance.&lt;/p&gt;</description></item></channel></rss>