<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IaC Stack Controller</title><link>https://f7f6c581.iac-stack-controller.pages.dev/</link><description>Recent content on IaC Stack Controller</description><generator>Hugo</generator><language>en</language><atom:link href="https://f7f6c581.iac-stack-controller.pages.dev/index.xml" rel="self" type="application/rss+xml"/><item><title>Troubleshooting</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/troubleshooting/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/troubleshooting/</guid><description>&lt;p&gt;Start with the affected stack. Its status shows what the controller observed. The Workflow and its Pods show where the pipeline stopped. These commands use the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/"&gt;quickstart&lt;/a&gt; namespaces. Substitute the values from your environment.&lt;/p&gt;
&lt;p&gt;On an existing installation, the new columns require the updated CRD. See &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/helm-lifecycle/"&gt;Helm upgrades&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="1-check-the-resource-and-its-events"&gt;1. Check the resource and its events&lt;/h2&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;STACK_NS&lt;span style="color:#f92672"&gt;=&lt;/span&gt;platform-system
&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;hello-stack
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&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 get iacstacks -A -o wide
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK_NS&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; 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; -o yaml
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK_NS&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; describe iacstack &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl -n &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$STACK_NS&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; get events &lt;span style="color:#ae81ff"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --field-selector &lt;span style="color:#e6db74"&gt;&amp;#34;involvedObject.kind=IaCStack,involvedObject.name=&lt;/span&gt;$STACK&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --sort-by&lt;span style="color:#f92672"&gt;=&lt;/span&gt;.metadata.creationTimestamp
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In &lt;code&gt;spec&lt;/code&gt;, check the repository, path and version in &lt;code&gt;sourceRef&lt;/code&gt;, the inputs, the alias in &lt;code&gt;workflowRef.name&lt;/code&gt;, dependencies, and whether &lt;code&gt;suspend&lt;/code&gt; is set. If the stack omits the alias, check the default in the controller configuration.&lt;/p&gt;</description></item><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>Argo Workflows</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/how-it-works/argo-workflows/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/how-it-works/argo-workflows/</guid><description>&lt;p&gt;Argo Workflows is the execution engine. The controller hands it a stack intent. Your team defines the pipeline that will run, including its images, stages, credentials and decision points.&lt;/p&gt;
&lt;h2 id="workflow-workflowtemplate-and-alias"&gt;Workflow, WorkflowTemplate, and alias&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Term&lt;/th&gt;
 &lt;th&gt;What it means&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;WorkflowTemplate&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;A reusable pipeline definition in Kubernetes. It describes its entry point, inputs, and steps or DAG tasks.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;Workflow&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;One execution of that pipeline. Inspect this resource in Argo to follow running steps, approvals, outputs and failures.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Alias&lt;/td&gt;
 &lt;td&gt;The registered name a stack selects through &lt;code&gt;spec.workflowRef.name&lt;/code&gt;. The controller configuration maps it to a template, namespace, ServiceAccount and execution contract.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The example below is the entry point and transport portion of the direct-apply template. The published YAML declares the runner and scoped RBAC; the runner script is a separate file.&lt;/p&gt;</description></item><item><title>Argo Workflows UI</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/argo-ui/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/argo-ui/</guid><description>&lt;p&gt;The Argo UI shows the steps of the execution associated with your &lt;code&gt;IaCStack&lt;/code&gt;. Use the name in &lt;code&gt;status.execution.workflow&lt;/code&gt; and the integration namespace to open the correct attempt. The &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/troubleshooting/"&gt;troubleshooting guide&lt;/a&gt; shows how to retrieve those values with &lt;code&gt;kubectl&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="1-open-the-ui-locally"&gt;1. Open the UI locally&lt;/h2&gt;
&lt;p&gt;If your environment provides an Argo Workflows URL, use the access configured by your team. In the lab, check that Argo Server is running and forward the Service port to your machine.&lt;/p&gt;</description></item><item><title>IaCStack API</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/iacstack-api/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/iacstack-api/</guid><description>&lt;h2 id="direct-module-inputs"&gt;Direct module inputs&lt;/h2&gt;
&lt;p&gt;The following stack supplies string values that a registered workflow maps to IaC module variables. Choose a repository, revision, and workflow alias configured in your installation.&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;apiVersion&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;iacstack.io/v1alpha1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;IaCStack&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;metadata&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;app-compute&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;spec&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;sourceRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;repository&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;https://github.com/org/infrastructure.git&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;stacks/compute&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;version&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;v1.0.0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;workflowRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;direct&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;inputs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;instance_type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;t3.medium&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;instance_count&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;3&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="higher-level-intent"&gt;Higher-level intent&lt;/h2&gt;
&lt;p&gt;The following example describes an EKS stack that uses an existing IaC repository, a governed execution workflow, and a network dependency.&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;apiVersion&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;iacstack.io/v1alpha1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;IaCStack&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;metadata&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;eks-production&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;spec&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;sourceRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;repository&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;https://github.com/org/infrastructure.git&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;stacks/eks&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;version&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;v1.0.0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;workflowRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;governed&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;inputs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;entity&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;br&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;environment&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;prod&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;region&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;us-east-1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;dependsOn&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;network-production&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;suspend&lt;/span&gt;: &lt;span style="color:#66d9ef"&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;reconciliation&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;driftCheckInterval&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;24h&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;retryPolicy&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;strategy&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;ExponentialBackoff&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;interval&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;30s&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;maxInterval&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;10m&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;maxRetries&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;lifecycle&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;destroy&lt;/span&gt;: &lt;span style="color:#66d9ef"&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;deletionPolicy&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;Retain&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Field&lt;/th&gt;
 &lt;th&gt;Purpose&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;sourceRef&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Identifies the existing IaC source, path, and revision. The workflow resolves and pins the effective revision.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;workflowRef&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Selects a registered execution integration by alias. If omitted, the configured default is used.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;inputs&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Supplies user-defined data to the execution workflow without imposing tool-specific semantics. The current format is a map of string values.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;dependsOn&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Declares prerequisite stacks in the same namespace.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;suspend&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controls whether new reconciliation attempts may be scheduled.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;reconciliation&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Configures periodic drift checks and retry behavior.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;lifecycle&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Expresses explicit destruction intent and the policy for deleting the stack resource.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The &lt;code&gt;deletionPolicy&lt;/code&gt; field uses &lt;code&gt;Retain&lt;/code&gt; as the safe default and &lt;code&gt;Destroy&lt;/code&gt; to request governed teardown upon deletion. Setting &lt;code&gt;destroy: true&lt;/code&gt; expresses explicit destruction intent while the stack resource still exists. Neither setting bypasses workflow governance or grants implicit authorization to modify infrastructure.&lt;/p&gt;</description></item><item><title>Kubernetes API-first</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/kubernetes-api-first/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/kubernetes-api-first/</guid><description>&lt;p&gt;A conventional CI job requests commands to run now. An &lt;code&gt;IaCStack&lt;/code&gt; is a persistent declaration of infrastructure intent. The operator reconciles it; the CRD defines its schema and Kubernetes stores spec and status. The controller is neither the IaC engine nor the state backend.&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;apiVersion&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;iacstack.io/v1alpha1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;IaCStack&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;metadata&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;app-compute&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;namespace&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;platform-system&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;spec&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;sourceRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;repository&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;https://github.com/your-org/infrastructure.git&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;stacks/compute&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;version&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;v1.0.0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;workflowRef&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;governed&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;inputs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;instance_count&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;3&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;reconciliation&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;driftCheckInterval&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;24h&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;lifecycle&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;deletionPolicy&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;Retain&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This is illustrative: register the alias and supply a real repository, revision and inputs.&lt;/p&gt;</description></item><item><title>Quickstart with Kind</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/quickstart/</guid><description>&lt;p&gt;Use Kind for a reproducible first experience, without AWS credentials or source image builds. Kind runs Kubernetes nodes in containers. Create a cluster and reconcile a ConfigMap with direct apply. Then use the same cluster for manual approval, OPA and drift. None of these steps requires EKS or AWS credentials. The example defaults to OpenTofu; you can choose Terraform in step 3.&lt;/p&gt;
&lt;h2 id="1-prepare-the-local-cluster"&gt;1. Prepare the local cluster&lt;/h2&gt;
&lt;p&gt;Prerequisites: a running Docker or compatible Kind container provider, Kind, kubectl, Helm 3 or later, curl, and a Bash-compatible shell. Use Linux/amd64 nodes for the initial release.&lt;/p&gt;</description></item><item><title>Observability</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/observability/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/observability/</guid><description>&lt;p&gt;Use the Kubernetes API to check a stack&amp;rsquo;s current state, logs to investigate decisions and failures, and metrics to monitor stacks over time.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Signal&lt;/th&gt;
 &lt;th&gt;Where to look&lt;/th&gt;
 &lt;th&gt;What it tells you&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Status and events&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;kubectl describe iacstack&lt;/code&gt;, &lt;code&gt;kubectl get iacstack -o yaml&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Which generation did the controller observe? Which attempt is recorded? Why is reconciliation waiting, blocked, or failed?&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Controller JSON logs&lt;/td&gt;
 &lt;td&gt;IaC Stack Controller Pod stdout&lt;/td&gt;
 &lt;td&gt;What happened during reconciliation, execution registration, or authorization? Correlate by stack and namespace, and by &lt;code&gt;workflow&lt;/code&gt; or &lt;code&gt;intentHash&lt;/code&gt; when present.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Pipeline logs and artifacts&lt;/td&gt;
 &lt;td&gt;Argo UI or Workflow Pods&lt;/td&gt;
 &lt;td&gt;What did Terraform or OpenTofu, the backend, or the policy step report?&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Metrics&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;GET /metrics&lt;/code&gt; on the controller, port &lt;code&gt;8080&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;How many attempts are active? Which stacks have outstanding drift? How long do attempts take?&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;To trace one stack across these signals, use the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/troubleshooting/"&gt;troubleshooting guide&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Helm upgrades and uninstall</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/helm-lifecycle/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/helm-lifecycle/</guid><description>&lt;p&gt;Use the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/helm/"&gt;installation guide&lt;/a&gt; to install the controller. Keep the values for your release in version control. The chart creates an immutable ConfigMap from those values and rolls the controller Pods when the configuration changes.&lt;/p&gt;
&lt;h2 id="upgrade-the-controller-and-crd"&gt;Upgrade the controller and CRD&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Inspect the stacks and active workflows. Let active attempts finish before changing an alias, WorkflowTemplate, ServiceAccount, or contract. Keep the current chart version, values, and CRD revision available for recovery.&lt;/li&gt;
&lt;li&gt;Read the target release notes and save the existing stack definitions and infrastructure state. If the CRD schema changes, review the compatibility requirements and apply the target manifest explicitly. In a GitOps setup, let the application that owns the CRD apply it first.&lt;/li&gt;
&lt;li&gt;Upgrade the chart with the intended version and your values. Verify the rollout and inspect the conditions on an existing stack.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After selecting the release and creating your &lt;code&gt;values.yaml&lt;/code&gt;, a manual upgrade in &lt;code&gt;platform-system&lt;/code&gt; looks like this.&lt;/p&gt;</description></item><item><title>Release security</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/release-security/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/release-security/</guid><description>&lt;p&gt;Pull requests touching Go code run code security checks; changes to image inputs also run the image security gates. Full scans run nightly, on demand and before release. The release workflow builds and smoke-tests the controller, Terraform runner and OpenTofu runner, and runs the security workflow before publishing the images and Helm chart to GHCR. Release images currently target Linux/amd64 and include SBOM and build provenance attestations.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Check&lt;/th&gt;
 &lt;th&gt;Release gate&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CodeQL (Go)&lt;/td&gt;
 &lt;td&gt;Reject findings with security severity of 7 or higher.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;govulncheck&lt;/td&gt;
 &lt;td&gt;Scan reachable vulnerabilities in the project&amp;rsquo;s Go code and dependencies; a failing scan blocks publication.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Trivy&lt;/td&gt;
 &lt;td&gt;Scan all three image targets. Reject CRITICAL findings and HIGH findings with a known fixed version, except explicitly accepted upstream findings.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;HIGH findings without a known fix and lower-severity findings remain in the reports. A green gate does not mean the images are vulnerability-free.&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>Execution contract and CLI</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/execution-contract/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/execution-contract/</guid><description>&lt;p&gt;Configure the controller with a workflow alias, the Argo namespace, the template name, the workflow ServiceAccount, and a transport mapping. The controller sends the intent as a JSON parameter. The workflow resolves the actual source and target before supplying result signals.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Signal&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;intent&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller input with the stack operation, source, inputs and attempt identity.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;resolved-source&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Effective source revision and binding identified by the workflow.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;execution-state&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Optional progress, waiting and drift observations.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;authorization-request&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Token associated with the reviewed change when the integration uses authorization.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;execution-result&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Functional outcome such as &lt;code&gt;NoChanges&lt;/code&gt;, &lt;code&gt;Verified&lt;/code&gt;, &lt;code&gt;Blocked&lt;/code&gt; or &lt;code&gt;Cancelled&lt;/code&gt;.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="approval-and-authorization"&gt;Approval and authorization&lt;/h2&gt;
&lt;p&gt;Human or policy approval decides whether a change is acceptable. The controller checks that the attempt still matches the valid intent. An authorized workflow requests a grant, waits for the matching token and records a claim immediately before apply. The token should identify the exact reviewed change. The workflow remains responsible for verifying the plan artifact and backend binding.&lt;/p&gt;</description></item><item><title>Install on Kubernetes</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/helm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/helm/</guid><description>&lt;p&gt;This is the common Helm-based installation for Kind and any compatible existing Kubernetes cluster. Argo Workflows is required; install it in step 1 if it is missing. The IaC Stack Controller chart installs the controller, its configuration, the IaCStack CRD, and namespace-scoped permissions. WorkflowTemplates, runner images, and workflow ServiceAccounts are selected and managed separately.&lt;/p&gt;
&lt;p&gt;The commands below use the alpha release &lt;code&gt;v0.1.0-alpha.2&lt;/code&gt; and its corresponding OCI chart. The release images target Linux/amd64. Use Helm 3 or later, kubectl, curl and a Bash-compatible shell. For a complete disposable-cluster walkthrough, follow &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/quickstart/"&gt;Quickstart with Kind&lt;/a&gt;. For local builds, see the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/kind-test-suite/"&gt;Kind test suite&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Kind test suite</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/kind-test-suite/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/operations/kind-test-suite/</guid><description>&lt;p&gt;The Python harness is for development and regression testing. Pull requests run a targeted OpenTofu quickstart smoke only for relevant changes. The full Terraform/OpenTofu matrix runs nightly, manually and before release (or reuses verified results for the same commit). See &lt;a href="https://github.com/iacstack/iac-stack-controller/blob/main/docs/ci-validation.md"&gt;CI and test strategy&lt;/a&gt;. It provisions Argo and the test fixtures, runs assertions, and can leave the cluster available for inspection.&lt;/p&gt;
&lt;h2 id="1-prepare-the-lab"&gt;1. Prepare the lab&lt;/h2&gt;
&lt;p&gt;Install Docker with Buildx, Kind, kubectl, Helm, Git and Python 3. Make sure Docker is running. Open an isolated terminal for the lab.&lt;/p&gt;</description></item><item><title>Platform Engineering integration</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/platform-engineering/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/platform-engineering/</guid><description>&lt;p&gt;IaC Stack Controller can be a lifecycle component of an Internal Developer Platform. This architecture is conceptual: no native Backstage plugin or portal is bundled.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://f7f6c581.iac-stack-controller.pages.dev/diagrams/platform-engineering.svg" alt="Platform Engineering integration"&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Layer&lt;/th&gt;
 &lt;th&gt;Responsibility&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Experience&lt;/td&gt;
 &lt;td&gt;Backstage Software Templates, IDP, CLI or API clients generate intent&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Delivery&lt;/td&gt;
 &lt;td&gt;Git pull request plus Argo CD/Flux or authorized API service&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Lifecycle&lt;/td&gt;
 &lt;td&gt;IaCStack and controller reconcile and report status&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Execution&lt;/td&gt;
 &lt;td&gt;Argo workflows, runner, policy and approval&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Infrastructure&lt;/td&gt;
 &lt;td&gt;Terraform/OpenTofu providers and existing backend&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="a-golden-path"&gt;A Golden Path&lt;/h2&gt;
&lt;p&gt;A platform team offers a compute capability. A developer chooses approved inputs in a self-service form. A Backstage Software Template implemented by your team renders an IaCStack manifest into Git and opens a PR. Argo CD or Flux syncs after merge. A registered governed workflow plans infrastructure; a portal can read status via a scoped Kubernetes client. Git acceptance and plan approval remain distinct.&lt;/p&gt;</description></item><item><title>Execution CLI reference</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/execution-cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/reference/execution-cli/</guid><description>&lt;p&gt;The &lt;code&gt;iacstack&lt;/code&gt; CLI runs inside workflow Pods. It is the reference client of the execution contract, not a replacement for kubectl, Terraform, OpenTofu or your pipeline. Use the binary included in the release runner or copy it into &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/custom-runner/"&gt;your own image&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="1-receive-the-intent"&gt;1. Receive the intent&lt;/h2&gt;
&lt;p&gt;Declare the workflow argument &lt;code&gt;intent&lt;/code&gt; in the WorkflowTemplate and pass it to each relevant script or container as environment variables:&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;env&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;INTENT&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;value&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;{{workflow.parameters.intent}}&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;WORKFLOW&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;value&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;{{workflow.name}}&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The CLI validates the envelope, including the workflow/intent identity. &lt;code&gt;WORKFLOW&lt;/code&gt; confirms the transport identity when set. Use &lt;code&gt;iacstack --intent-file /path/intent.json --output-dir /path/outputs COMMAND&lt;/code&gt; to override the input and output directory; global flags precede the command. By default it reads &lt;code&gt;INTENT&lt;/code&gt; and writes private atomic files under &lt;code&gt;/tmp&lt;/code&gt;. The workflow is responsible for target validation and resolving the effective source, including honoring a supplied pinned reference and existing binding.&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>Choosing an IaC controller</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/choosing-a-controller/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/concepts/choosing-a-controller/</guid><description>&lt;p&gt;IaC Stack Controller bridges existing Terraform/OpenTofu automation and Kubernetes-native infrastructure lifecycle management. The goal is to modernize orchestration without requiring teams to replace existing modules, state, scripts, policy or operational processes. The distinguishing choice is &lt;strong&gt;workflow ownership&lt;/strong&gt;, not the mere existence of a Kubernetes controller.&lt;/p&gt;
&lt;h2 id="compare-the-execution-models"&gt;Compare the execution models&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Dimension&lt;/th&gt;
 &lt;th&gt;IaC Stack Controller&lt;/th&gt;
 &lt;th&gt;Tofu Controller&lt;/th&gt;
 &lt;th&gt;Burrito&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Primary focus&lt;/td&gt;
 &lt;td&gt;API-first lifecycle with user-defined execution&lt;/td&gt;
 &lt;td&gt;GitOps reconciliation of OpenTofu/Terraform for Flux&lt;/td&gt;
 &lt;td&gt;Kubernetes Terraform automation, drift and PR/MR workflows&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Execution unit&lt;/td&gt;
 &lt;td&gt;Registered Argo WorkflowTemplate, selected per stack&lt;/td&gt;
 &lt;td&gt;Terraform resource and runner pods, managed by the controller&lt;/td&gt;
 &lt;td&gt;TerraformRepository, TerraformLayer and runner pods&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Customization&lt;/td&gt;
 &lt;td&gt;Team defines workflow stages, images, policy, approval and backend; reports through the execution contract&lt;/td&gt;
 &lt;td&gt;Configurable runners, plan/apply options, approvals and Flux sources&lt;/td&gt;
 &lt;td&gt;Configurable runner pod spec, remediation and PR/MR workflow&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Existing automation&lt;/td&gt;
 &lt;td&gt;Adapt existing pipeline logic to Argo and the contract; preserve state ownership and validate handoff&lt;/td&gt;
 &lt;td&gt;Adopt existing IaC through its GitOps reconciliation model&lt;/td&gt;
 &lt;td&gt;Configure repositories/layers and runner automation&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Trade-off&lt;/td&gt;
 &lt;td&gt;Requires maintaining Argo Workflows and a trustworthy contract-compatible pipeline&lt;/td&gt;
 &lt;td&gt;Strong fit when adopting Flux&amp;rsquo;s model and runner lifecycle&lt;/td&gt;
 &lt;td&gt;Strong fit for repository and pull-request-driven Terraform operations&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Each project offers customization and drift-related features. This is not a benchmark, exhaustive feature matrix or claim that alternatives cannot implement equivalent integrations. For IaC Stack Controller, the current validated engines are Terraform/OpenTofu with Argo; other integrations are not yet supported.&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><item><title>Bring your own workflow</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/bring-your-own/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/bring-your-own/</guid><description>&lt;p&gt;You can reuse the modules, backend, runner and governance from an existing pipeline, including one currently running on GitHub Actions. Adapt the execution logic into an Argo WorkflowTemplate and connect it through the IaCStack execution contract.&lt;/p&gt;
&lt;h2 id="what-you-can-change-and-what-you-must-keep"&gt;What you can change and what you must keep&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;You own&lt;/th&gt;
 &lt;th&gt;The integration needs&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Module, inputs, images, and stages. HTML reports, OPA, and approval forms are optional.&lt;/td&gt;
 &lt;td&gt;A registered Argo &lt;code&gt;WorkflowTemplate&lt;/code&gt; selected by the stack. GitHub Actions YAML does not run directly.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Identity, target, backend, and state lock.&lt;/td&gt;
 &lt;td&gt;A consistent target binding and a single state writer. The pipeline and backend are responsible for those.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;When to review plans, remediate drift, or block apply.&lt;/td&gt;
 &lt;td&gt;Intent and results in the execution contract format. If the alias requires authorization, request and claim it before apply. Human approval is separate.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Want to see a change before migrating? &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/create-workflow/"&gt;Add a real step in Kind&lt;/a&gt;. For adopting existing state, follow the sequence below.&lt;/p&gt;</description></item><item><title>Create your own workflow</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/create-workflow/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/create-workflow/</guid><description>&lt;p&gt;An IaCStack chooses a workflow alias. The alias points to an Argo WorkflowTemplate, and Argo starts a runner pod to execute it. See &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/how-it-works/"&gt;How it works&lt;/a&gt; for the full path.&lt;/p&gt;
&lt;h2 id="1-clone-a-working-workflowtemplate"&gt;1. Clone a working WorkflowTemplate&lt;/h2&gt;
&lt;p&gt;After the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/quickstart/"&gt;Kind quickstart&lt;/a&gt;, stay in the same &lt;code&gt;quickstart&lt;/code&gt; directory and shell. With &lt;code&gt;jq&lt;/code&gt; installed, create a separate copy using the same published runner:&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 -n argo-workflows get workflowtemplate iacstack-quickstart-direct -o json |
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; jq &lt;span style="color:#e6db74"&gt;&amp;#39;{apiVersion, kind, metadata: {name: &amp;#34;my-direct&amp;#34;, namespace: .metadata.namespace}, spec}&amp;#39;&lt;/span&gt; |
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; kubectl create --dry-run&lt;span style="color:#f92672"&gt;=&lt;/span&gt;client -f - -o yaml &amp;gt; my-workflow.yaml
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl apply --dry-run&lt;span style="color:#f92672"&gt;=&lt;/span&gt;server -f my-workflow.yaml &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; kubectl apply -f my-workflow.yaml
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Open &lt;code&gt;my-workflow.yaml&lt;/code&gt;. This excerpt shows which fields connect the pieces. It is not a replacement for the complete clone.&lt;/p&gt;</description></item><item><title>Sync an IaCStack from Git</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/sync-from-git/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/sync-from-git/</guid><description>&lt;p&gt;This optional exercise takes the &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/getting-started/quickstart/"&gt;Kind quickstart&lt;/a&gt; one step further. Instead of applying a stack with &lt;code&gt;kubectl&lt;/code&gt;, you&amp;rsquo;ll commit its declaration and let Argo CD deliver it. It creates a separate ConfigMap and keeps &lt;code&gt;hello-stack&lt;/code&gt; untouched.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Argo CD&lt;/strong&gt; syncs the manifest. &lt;strong&gt;IaC Stack Controller&lt;/strong&gt; sees the change in Kubernetes and starts an attempt. &lt;strong&gt;Argo Workflows&lt;/strong&gt; runs the registered pipeline. They are separate systems: a synced manifest does not mean the infrastructure change has completed.&lt;/p&gt;</description></item><item><title>Build a custom runner image</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/custom-runner/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/custom-runner/</guid><description>&lt;p&gt;The controller image is not the runner. Argo starts a Pod for each execution step using the image declared in the template. The runner implements your IaC automation and uses the versioned &lt;code&gt;iacstack&lt;/code&gt; CLI to communicate through the execution contract. The two official runners contain Bash, Git, jq, CA certificates, the CLI and their respective IaC engine. They run as UID/GID 10001 and use &lt;code&gt;/tmp&lt;/code&gt; as HOME. They do not include AWS CLI or kubectl.&lt;/p&gt;</description></item><item><title>Build a pipeline from scratch</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/build-pipeline/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/build-pipeline/</guid><description>&lt;p&gt;Begin with the working quickstart. The &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/examples/consumer/workflow.yaml"&gt;WorkflowTemplate and RBAC&lt;/a&gt; implements the steps below. The snippets explain each part, not separate manifests to apply.&lt;/p&gt;
&lt;h2 id="1-declare-the-entrypoint-and-identity"&gt;1. Declare the entrypoint and identity&lt;/h2&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;apiVersion&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;argoproj.io/v1alpha1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;WorkflowTemplate&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;metadata&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;iacstack-governed-lab&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;namespace&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;argo-workflows&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;spec&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;entrypoint&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;pipeline&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;serviceAccountName&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;iacstack-quickstart&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;arguments&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;parameters&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;name&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;intent&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The controller fills the intent. The ServiceAccount needs target/backend permissions and Argo task-result permissions; authorization adds get on IaCStack and patch on status. The lab restricts this to three named stacks; production also needs claim-only admission enforcement.&lt;/p&gt;</description></item><item><title>Migrate a GitHub Actions pipeline</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/migrate-github-actions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/migrate-github-actions/</guid><description>&lt;p&gt;GitHub Actions YAML is not imported directly. Preserve infrastructure, modules, state and reusable scripts; adapt orchestration and identity.&lt;/p&gt;
&lt;h2 id="before-and-after"&gt;Before and after&lt;/h2&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-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Existing GitHub Actions plan job fragment&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;jobs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;plan&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;runs-on&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;ubuntu-latest&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;steps&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;uses&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;actions/checkout@v4&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;uses&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;hashicorp/setup-terraform@v3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;run&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;terraform init -input=false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;run&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;terraform validate&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;run&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;terraform plan -input=false -out=change.plan&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Existing mechanism&lt;/th&gt;
 &lt;th&gt;Argo equivalent&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;checkout/ref&lt;/td&gt;
 &lt;td&gt;Validated intent and immutable revision&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;setup-terraform&lt;/td&gt;
 &lt;td&gt;Pinned runner or own image with CLI&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;jobs/needs&lt;/td&gt;
 &lt;td&gt;Steps or DAG&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;upload-artifact&lt;/td&gt;
 &lt;td&gt;PVC or artifact repository&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;environment approval&lt;/td&gt;
 &lt;td&gt;Argo suspend/policy and separate controller grant&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;OIDC role&lt;/td&gt;
 &lt;td&gt;Cluster workload identity&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;job exit&lt;/td&gt;
 &lt;td&gt;Argo status plus functional result&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="put-the-plan-script-in-the-runner"&gt;Put the plan script in the runner&lt;/h3&gt;
&lt;p&gt;In this fragment, &lt;code&gt;command: [bash]&lt;/code&gt; selects the interpreter. &lt;code&gt;source&lt;/code&gt; is the Bash code Argo passes to that interpreter: it calls the &lt;code&gt;plan.sh&lt;/code&gt; you already use in your pipeline.&lt;/p&gt;</description></item><item><title>Workspace and artifacts</title><link>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/workspace-artifacts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://f7f6c581.iac-stack-controller.pages.dev/docs/tutorials/workspace-artifacts/</guid><description>&lt;p&gt;A new Argo Pod does not inherit the previous Pod&amp;rsquo;s files or environment. The controller transports small execution signals, not plans, state or workspaces.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Transport&lt;/th&gt;
 &lt;th&gt;Use&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;emptyDir&lt;/td&gt;
 &lt;td&gt;Containers in the same Pod only&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Per-workflow PVC&lt;/td&gt;
 &lt;td&gt;Sequential steps at identical paths; needs dynamic storage&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Argo artifacts / S3&lt;/td&gt;
 &lt;td&gt;Cross-Pod transport and retained evidence; configure repository and identity&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Existing external store&lt;/td&gt;
 &lt;td&gt;Workflow owns download, verification and access&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/examples/consumer/workflow.yaml"&gt;example pipeline template&lt;/a&gt; uses a PVC mounted at /workspace and volumeClaimGC. The IaC state remains in the Kubernetes backend. For EKS, the recommended reference is S3 artifacts plus a separate S3 state backend, not a shared PVC. See &lt;a href="https://f7f6c581.iac-stack-controller.pages.dev/docs/eks-labs/"&gt;EKS lab setup&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>