<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.brettfullmer.com/wiki/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_Spacelift</id>
	<title>How to Use Spacelift - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.brettfullmer.com/wiki/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_Spacelift"/>
	<link rel="alternate" type="text/html" href="https://www.brettfullmer.com/wiki/index.php?title=How_to_Use_Spacelift&amp;action=history"/>
	<updated>2026-09-16T09:38:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.6</generator>
	<entry>
		<id>https://www.brettfullmer.com/wiki/index.php?title=How_to_Use_Spacelift&amp;diff=14&amp;oldid=prev</id>
		<title>Brett: Write how-to guide with illustrations</title>
		<link rel="alternate" type="text/html" href="https://www.brettfullmer.com/wiki/index.php?title=How_to_Use_Spacelift&amp;diff=14&amp;oldid=prev"/>
		<updated>2026-08-21T16:48:52Z</updated>

		<summary type="html">&lt;p&gt;Write how-to guide with illustrations&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Spacelift-howto-hero.jpeg|thumb|center|500px|Config in, plan reviewed, confirmed, applied.]]&lt;br /&gt;
A simple walkthrough of how infrastructure actually gets deployed with Spacelift — the same process used to build the [[Spacelift|labs documented here]]. Written for anyone who already knows what Infrastructure as Code is and wants to see how Spacelift specifically fits into that workflow. Seven steps, no step skipped, nothing applied without a human saying so.&lt;br /&gt;
&lt;br /&gt;
== Step 1: Write your infrastructure as code ==&lt;br /&gt;
&lt;br /&gt;
Describe what you want — a server, a network, a database — as config files (OpenTofu or Terraform) in a Git repository. This is the &amp;quot;shopping list,&amp;quot; not the click-through-a-console approach. It&amp;#039;s also the part that makes every future change reviewable, since it&amp;#039;s just a diff in a file.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Create a Spacelift stack ==&lt;br /&gt;
&lt;br /&gt;
Point Spacelift at that repository and branch. A &amp;quot;stack&amp;quot; is Spacelift&amp;#039;s unit of infrastructure — one stack usually maps to one deployable piece of your system (a network, an app, a database tier).&lt;br /&gt;
&lt;br /&gt;
== Step 3: Attach cloud credentials, scoped on purpose ==&lt;br /&gt;
&lt;br /&gt;
Connect the stack to your cloud account. Worth doing deliberately here: automation/read-only access and actual deploy access don&amp;#039;t have to be the same credential. Keeping them separate means a compromised or overly-curious tool can look, but can&amp;#039;t touch.&lt;br /&gt;
&lt;br /&gt;
== Step 4: Push a change ==&lt;br /&gt;
&lt;br /&gt;
Commit and push. Spacelift picks it up automatically and runs a &amp;#039;&amp;#039;&amp;#039;plan&amp;#039;&amp;#039;&amp;#039; — a full preview of exactly what would change, added, or destroyed. Nothing has touched the real infrastructure yet.&lt;br /&gt;
&lt;br /&gt;
== Step 5: Read the plan like it matters ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spacelift-howto-confirm.jpeg|thumb|right|280px|The gate that keeps a bad plan from ever reaching production.]]&lt;br /&gt;
This is the step people skip when they&amp;#039;re in a hurry, and the step that saves you when you are. The plan shows every resource being created, changed, or destroyed — read it the way you&amp;#039;d read a contract before signing it.&lt;br /&gt;
&lt;br /&gt;
== Step 6: Confirm ==&lt;br /&gt;
&lt;br /&gt;
Only after a human clicks confirm does Spacelift actually apply anything to the real account. This is the whole point: plan and apply are two separate, deliberate actions, not one button that does both. It&amp;#039;s the difference between &amp;quot;this happened&amp;quot; and &amp;quot;I meant for this to happen.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Step 7: Check the run history any time ==&lt;br /&gt;
&lt;br /&gt;
Every run — who triggered it, what changed, whether it was confirmed or rejected — stays in Spacelift&amp;#039;s history. Weeks later, &amp;quot;why did this change&amp;quot; has an actual answer instead of a guess.&lt;br /&gt;
&lt;br /&gt;
== Why it&amp;#039;s worth the extra step ==&lt;br /&gt;
&lt;br /&gt;
None of this is exotic. It&amp;#039;s the boring, unglamorous discipline that turns &amp;quot;I hope this doesn&amp;#039;t break something&amp;quot; into an actual guarantee — whether the thing pushing the change is a person or, as in [[MAC|this case]], an AI agent working with real credentials. The gate is the same either way, and that&amp;#039;s exactly the point.&lt;br /&gt;
&lt;br /&gt;
[[Category:Infrastructure as Code]]&lt;br /&gt;
[[Category:AWS]]&lt;br /&gt;
[[Category:Technical Account Manager]]&lt;/div&gt;</summary>
		<author><name>Brett</name></author>
	</entry>
</feed>