Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.
ravion stack
Manage stacksAliases:stacks
ravion stack current-state
Read current-state metadata without loading stack history or resources
ravion stack current-state <id> [flags]
Flags:
Flag
Required
Description
--json
emit response as JSON
ravion stack get
Get Stack by id
ravion stack get <id> [flags]
Flags:
Flag
Required
Description
--json
emit response as JSON
ravion stack get-lock
Read a stack’s Terraform state lock
ravion stack get-lock <id> [flags]
Flags:
Flag
Required
Description
--json
emit response as JSON
ravion stack list
List Stacks
ravion stack list [flags]
Flags:
Flag
Required
Description
--cursor <string>
cursor
--environment-id <string>
environmentId
--json
emit response as JSON
--limit <int>
limit
--project-id <strings>
Projects to list stacks for. Repeat the parameter to ask about several.
-v, --verbose
show full output
ravion stack resource-count
Count current-state terraform resources for stacks
ravion stack resource-count [flags]
Flags:
Flag
Required
Description
--id <strings>
yes
Stack IDs to count current-state resources for.
--json
emit response as JSON
ravion stack trigger-pipeline
Trigger a pipeline run for a stack
ravion stack trigger-pipeline <id> [flags]
Flags:
Flag
Required
Description
--description <string>
yes
User-provided description of this pipeline run
--pipeline-type <string>
yes
Which stack pipeline to trigger. Available values: change, destroy.
--autoapprove
Pass autoapprove=true to stack change pipeline runs when supported.
--json
emit response as JSON
ravion stack unlock
Force-release a stack’s Terraform state lock
ravion stack unlock <id> [flags]
Flags:
Flag
Required
Description
--force
Release the lock while the run that took it is still active, or when the lock was taken outside a pipeline run. This covers a run that never completes and does not respond to cancellation, which is not expected behaviour. That run keeps going, and its state write is refused once the lock is gone, so the run fails and any cloud resources it already changed go unrecorded. State from completed operations is untouched. Cancel the run first whenever cancellation succeeds.
--json
emit response as JSON
--lock-id <lockId>
The lockId of the lock you reviewed, as returned by the lock endpoint. When the stack now holds a different lock, the request returns 409 and releases nothing, so a lock taken after you looked is never released in its place. An already-released lock still succeeds and changes nothing.
-y, --yes
skip confirmation prompt
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ravion Docs","description":"Fast, powerful building blocks for CI/CD pipelines, deploys, and Terraform automation. An open module system and one canvas connect them for your team and agents, in your own cloud.","colors":{"primary":"#FE6104","light":"#FE6104","dark":"#F6DDCE"},"logo":{"light":"https://mintcdn.com/ravion-b90c0359/flJhuOPF2oqAa_dG/logo/light.svg?fit=max\u0026auto=format\u0026n=flJhuOPF2oqAa_dG\u0026q=85\u0026s=1f2e6cab050d18d564cdeb5f723e684d","dark":"https://mintcdn.com/ravion-b90c0359/flJhuOPF2oqAa_dG/logo/dark.svg?fit=max\u0026auto=format\u0026n=flJhuOPF2oqAa_dG\u0026q=85\u0026s=c9ebae6d3a290cf6ee644bb63dcf4b3e","href":"https://www.ravion.com"},"favicon":"https://mintcdn.com/ravion-b90c0359/zFu0q6w3B8mEcsTw/favicon.png?fit=max\u0026auto=format\u0026n=zFu0q6w3B8mEcsTw\u0026q=85\u0026s=b7e9559b318054140788c5c4f83a5739","background":{"color":{"dark":"#0F0004"}},"navbar":{"links":[{"href":"https://app.ravion.com/signup","label":"Start free trial"},{"href":"https://cal.com/team/ravion/demo","label":"Book a demo"},{"href":"https://discord.gg/hJyRfg4nNa","label":"Discord","type":"discord"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/ravionhq","x":"https://x.com/ravion"}},"fonts":{"heading":{"family":"PP Fragment","weight":400,"source":"https://www.ravion.com/docs/fonts/PPFragment-GlareRegular.woff2","format":"woff2"},"body":{"family":"PP Neue Montreal","weight":450,"source":"https://www.ravion.com/docs/fonts/PPNeueMontreal-Variable.woff2","format":"woff2"}},"integrations":{"fathom":{"siteId":"GMFTPQUB"},"ga4":{"measurementId":"G-9F3ZH30W5Y"},"posthog":{"apiKey":"phc_knvqBBWDUykLHBQFmz9spqtcuvWnkupHeVcxqFF2K977","apiHost":"https://api.ravion.com/i"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ravion-b90c0359","hasAudioNarration":false,"actualSubdomain":"ravion-b90c0359","customDomains":["www.ravion.com"],"gitSource":{"type":"github","owner":"ravionhq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"issues":false,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6b077108980d5bf65fb8567d","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API reference","count":617},{"language":"default","tag":"Documentation","count":139},{"language":"default","tag":"Modules","count":61},{"language":"default","tag":"Standard library","count":53},{"language":"default","tag":"CLI","count":46},{"language":"default","tag":"Command reference","count":42},{"language":"default","tag":"Deploy to AWS","count":28},{"language":"default","tag":"Frameworks","count":28},{"language":"default","tag":"Pipelines","count":24},{"language":"default","tag":"GitHub Actions","count":23}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@ravion.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"/* latin-ext */\n@font-face {\n font-family: 'DM Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/dmmono/v16/aFTW7PB1QTsUX8KYth-gCKSIUKw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/dmmono/v16/aFTW7PB1QTsUX8KYth-gBqSI.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'DM Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBLyM.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:\"PP Neue Montreal\";src:url(\"/docs/fonts/PPNeueMontreal-Variable.woff2\") format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap}:root{--font-mono:\n \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;--radius-interactive-element: 0.125rem;--radius-sm: 0.125rem;--radius-text-highlight: 0.125rem;--radius-md: 0.125rem;--radius-menus: 0.125rem;--radius-lg: 0.125rem;--radius-xl: 0.125rem;--radius-full: 9999px;--rounded-sm: 0.125rem;--rounded: 0.125rem;--rounded-md: 0.125rem;--rounded-lg: 0.125rem;--rounded-xl: 0.125rem;--rounded-2xl: 0.125rem;--rounded-3xl: 0.125rem;--border-radius: 0.125rem;font-size:17px}:where([class*=\"rounded\"]:not(.rounded-none):not(.rounded-full):not([class*=\"rounded-full\"])){border-radius:0.125rem!important}.rounded-full,[class*=\"rounded-full\"]{border-radius:var(--radius-full)!important}[data-radix-menu-content],[data-radix-dropdown-menu-content],[role=\"menu\"][data-side],[data-component-part=\"search-modal\"],[data-component-part=\"search-header\"],[data-component-part=\"search-list\"]{border-radius:0.125rem!important}:is(.dark,[data-theme=\"dark\"]) [data-component-part=\"search-modal\"]{box-shadow:0 0 0 100vmax rgb(0 0 0 / 60%),\n 0 25px 50px -12px rgb(0 0 0 / 70%)!important}@media (prefers-color-scheme: dark){[data-component-part=\"search-modal\"]{box-shadow:0 0 0 100vmax rgb(0 0 0 / 60%),\n 0 25px 50px -12px rgb(0 0 0 / 70%)!important}}code,pre,kbd,samp,[class*=\"language-\"],[data-component-part=\"code-block\"],[data-component-part=\"code-block\"] *{font-family:var(--font-mono)!important;font-weight:400!important}html{letter-spacing:0.02em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,p,li{letter-spacing:0.02em}strong,b,.font-semibold{font-weight:600!important}a{font-weight:inherit!important}h1,h2,h3,h4,h5,h6{letter-spacing:0!important;font-weight:400!important}h1,h4,h5,h6{line-height:1.2!important}h2,h3{line-height:1.5!important}h3+h4{margin-top:1.25rem!important}h1.font-semibold,h2.font-semibold,h3.font-semibold,h4.font-semibold,h5.font-semibold,h6.font-semibold{font-weight:400!important}html[data-current-path=\"/changelog\"] #page-title{font-size:0!important}html[data-current-path=\"/changelog\"] #page-title::before{content:\"Product updates\";font-size:1.875rem}html[data-current-path=\"/changelog\"] #content-area>*{max-width:41.4rem}@media (min-width: 640px){html[data-current-path=\"/changelog\"] #page-title::before{font-size:2.25rem}}@media (min-width: 1536px){html[data-current-path=\"/changelog\"] #content-area>*{max-width:48.3rem}}.sidebar-group-header h3,h3.sidebar-title{font-weight:600!important}#navigation-items{line-height:1.25rem}#navigation-items .sidebar-group>*+*{margin-top:0!important}[data-component-part=\"card-title\"]{font-size:1.2rem!important}[data-component-part=\"card-content\"]{margin-top:0.5rem!important}code,pre,kbd,samp,[class*=\"language-\"],[data-component-part=\"code-block\"],[data-component-part=\"code-block\"] *{letter-spacing:normal}.max-w-8xl,[class*=\"max-w-8xl\"]{max-width:100%!important}#content-area>*{width:100%;max-width:36rem;margin-left:auto;margin-right:auto}@media (min-width: 1536px){#content-area>*{max-width:42rem}}[data-component-part=\"code-block-root\"],.code-block{--primary-light: 139 92 246}:is(.dark,[data-theme=\"dark\"]) [data-component-part=\"code-block-root\"],:is(.dark,[data-theme=\"dark\"]) .code-block{--primary-light: 167 139 250}a[href=\"https://www.mintlify.com/?utm_campaign=poweredBy\u0026utm_medium=referral\u0026utm_source=ravion-b90c0359\"],a[href*=\"mintlify.com\"][href*=\"poweredBy\"],a[href*=\"mintlify.com\"][href*=\"powered-by\"],a[aria-label*=\"Mintlify\"],a[title*=\"Mintlify\"]{display:none!important}html:not([data-ravion-auth-state]) :is(.navbar-link,navbar-link):has(a[href=\"https://app.ravion.com/signup\"],a[href=\"https://cal.com/team/ravion/demo\"]){visibility:hidden}:root{--rvn-base: #0f0004;--rvn-anchor-neutral: #fdddc9;--rvn-anchor-orange: #fe6104;--rvn-anchor-purple: #b287ff;--rvn-anchor-green: #88d18a;--rvn-anchor-red: #ff4d61}html.dark{--gray-50: 253 221 201;--gray-100: 253 221 201;--gray-200: 253 221 201;--gray-300: 224 194 177;--gray-400: 196 168 154;--gray-500: 136 113 104;--gray-600: 113 91 85;--gray-700: 86 66 63;--gray-800: 51 33 34;--gray-900: 39 22 24;--gray-950: 27 11 14;--color-white: var(--rvn-anchor-neutral)}html.dark [data-component-part=\"code-block-root\"],html.dark .dark\\:bg-codeblock{background-color:color-mix(in srgb, var(--rvn-anchor-neutral) 5%, var(--rvn-base))!important}html.dark [data-callout-type]{--rvn-callout: var(--rvn-anchor-purple);background-color:color-mix(in srgb, var(--rvn-callout) 5%, var(--rvn-base))!important;border-color:color-mix(in srgb, var(--rvn-callout) 30%, var(--rvn-base))!important}html.dark [data-callout-type=\"warning\"]{--rvn-callout: var(--rvn-anchor-orange)}html.dark :is([data-callout-type=\"tip\"],[data-callout-type=\"check\"]){--rvn-callout: var(--rvn-anchor-green)}html.dark :is([data-callout-type=\"danger\"],[data-callout-type=\"error\"]){--rvn-callout: var(--rvn-anchor-red)}html.dark [data-callout-type]>*,html.dark [data-callout-type] svg{color:var(--rvn-callout)!important}html.dark svg[id^=\"mermaid\"] :is(.node rect,.node polygon,.node circle,.node path){fill:color-mix(in srgb, var(--rvn-anchor-neutral) 10%, var(--rvn-base))!important;stroke:color-mix(in srgb, var(--rvn-anchor-neutral) 30%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] .cluster rect{fill:color-mix(in srgb, var(--rvn-anchor-neutral) 5%, var(--rvn-base))!important;stroke:color-mix(in srgb, var(--rvn-anchor-neutral) 15%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] :is(.cluster text,.cluster-label,.cluster-label *){fill:var(--rvn-anchor-neutral)!important;color:var(--rvn-anchor-neutral)!important}html.dark svg[id^=\"mermaid\"] :is(.flowchart-link,.edgePath path,.transition):not([style*=\"stroke\"]){stroke:color-mix(in srgb, var(--rvn-anchor-neutral) 51%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] :is(.flowchart-link,.edgePath path)[style*=\"CBD5E1\"i]{stroke:color-mix(in srgb, var(--rvn-anchor-neutral) 20%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] :is(.arrowMarkerPath,marker path){fill:color-mix(in srgb, var(--rvn-anchor-neutral) 51%, var(--rvn-base))!important;stroke:color-mix(in srgb, var(--rvn-anchor-neutral) 51%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] :is(.edgeLabel,.edgeLabel p,.edgeLabel span,.labelBkg){background-color:var(--rvn-base)!important;color:color-mix(in srgb, var(--rvn-anchor-neutral) 76%, var(--rvn-base))!important}html.dark svg[id^=\"mermaid\"] .edgeLabel rect{fill:var(--rvn-base)!important;opacity:1!important}"}]}
{"page":{"pagePath":"cli/reference/stack","slug":"/cli/reference/stack","pageMetadata":{"title":"ravion stack","sidebarTitle":"stack","description":"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the `ravion stack` commands.","og:image":"https://www.ravion.com/og/docs/cli/reference/stack.png","twitter:image":"https://www.ravion.com/og/docs/cli/reference/stack.png","href":"/cli/reference/stack"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the \", _jsx(_components.code, {\n children: \"ravion stack\"\n }), \" commands.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`ravion-stack`,children:_jsx(_components.code,{children:`ravion stack`})}),`\n`,_jsx(_components.p,{children:`Manage stacks`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Aliases:`}),` `,_jsx(_components.code,{children:`stacks`})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-current-state`,children:_jsx(_components.code,{children:`ravion stack current-state`})}),`\n`,_jsx(_components.p,{children:`Read current-state metadata without loading stack history or resources`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` current-state`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-get`,children:_jsx(_components.code,{children:`ravion stack get`})}),`\n`,_jsx(_components.p,{children:`Get Stack by id`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-get-lock`,children:_jsx(_components.code,{children:`ravion stack get-lock`})}),`\n`,_jsx(_components.p,{children:`Read a stack’s Terraform state lock`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get-lock`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-list`,children:_jsx(_components.code,{children:`ravion stack list`})}),`\n`,_jsx(_components.p,{children:`List Stacks`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--cursor \u003cstring>`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`cursor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--environment-id \u003cstring>`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`environmentId`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--limit \u003cint>`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--project-id \u003cstrings>`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Projects to list stacks for. Repeat the parameter to ask about several.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-v, --verbose`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`show full output`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-resource-count`,children:_jsx(_components.code,{children:`ravion stack resource-count`})}),`\n`,_jsx(_components.p,{children:`Count current-state terraform resources for stacks`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` resource-count`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--id \u003cstrings>`})}),_jsx(_components.td,{children:`yes`}),_jsx(_components.td,{children:`Stack IDs to count current-state resources for.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-trigger-pipeline`,children:_jsx(_components.code,{children:`ravion stack trigger-pipeline`})}),`\n`,_jsx(_components.p,{children:`Trigger a pipeline run for a stack`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trigger-pipeline`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--description \u003cstring>`})}),_jsx(_components.td,{children:`yes`}),_jsx(_components.td,{children:`User-provided description of this pipeline run`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--pipeline-type \u003cstring>`})}),_jsx(_components.td,{children:`yes`}),_jsx(_components.td,{children:`Which stack pipeline to trigger. Available values: change, destroy.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--autoapprove`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Pass autoapprove=true to stack change pipeline runs when supported.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ravion-stack-unlock`,children:_jsx(_components.code,{children:`ravion stack unlock`})}),`\n`,_jsx(_components.p,{children:`Force-release a stack’s Terraform state lock`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ravion`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stack`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` unlock`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [flags]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--force`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Release the lock while the run that took it is still active, or when the lock was taken outside a pipeline run. This covers a run that never completes and does not respond to cancellation, which is not expected behaviour. That run keeps going, and its state write is refused once the lock is gone, so the run fails and any cloud resources it already changed go unrecorded. State from completed operations is untouched. Cancel the run first whenever cancellation succeeds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`emit response as JSON`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--lock-id \u003clockId>`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`The lockId of the lock you reviewed, as returned by the lock endpoint. When the stack now holds a different lock, the request returns 409 and releases nothing, so a lock taken after you looked is never released in its place. An already-released lock still succeeds and changes nothing.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-y, --yes`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`skip confirmation prompt`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"ravion stack","sidebarTitle":"stack","description":"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the `ravion stack` commands.","og:image":"https://www.ravion.com/og/docs/cli/reference/stack.png","twitter:image":"https://www.ravion.com/og/docs/cli/reference/stack.png","href":"/cli/reference/stack"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"ravion stack","slug":"ravion-stack","depth":2,"children":[{"title":"ravion stack current-state","slug":"ravion-stack-current-state","depth":3,"children":[]},{"title":"ravion stack get","slug":"ravion-stack-get","depth":3,"children":[]},{"title":"ravion stack get-lock","slug":"ravion-stack-get-lock","depth":3,"children":[]},{"title":"ravion stack list","slug":"ravion-stack-list","depth":3,"children":[]},{"title":"ravion stack resource-count","slug":"ravion-stack-resource-count","depth":3,"children":[]},{"title":"ravion stack trigger-pipeline","slug":"ravion-stack-trigger-pipeline","depth":3,"children":[]},{"title":"ravion stack unlock","slug":"ravion-stack-unlock","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/ravion-b90c0359/c514f1aea613ba76/navbar-auth-link.js","/docs/_mintlify/custom/ravion-b90c0359/d397658c84af5506/schema-anchor-redirects.js","/docs/_mintlify/custom/ravion-b90c0359/ab731f671fc11729/catalog-anchor-redirects.js"],"subdomain":"ravion-b90c0359","siteName":"Ravion Docs","title":"ravion stack - Ravion Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T21:52:18.695Z","originalFileLocation":"cli/reference/stack.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ravion Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"ravion stack - Ravion Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ravion Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ravion.com/docs/cli/reference/stack\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://www.ravion.com/og/docs/cli/reference/stack.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"ravion stack - Ravion Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://www.ravion.com/og/docs/cli/reference/stack.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/ravion-b90c0359/PBg3PC_UrJuB5_rW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ravion Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FE6104\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ravion.com/docs/cli/reference/stack\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cli/reference/stack.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ravion.com/#organization\",\"name\":\"Ravion Docs\",\"url\":\"https://www.ravion.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ravion-b90c0359/flJhuOPF2oqAa_dG/logo/light.svg?fit=max\u0026auto=format\u0026n=flJhuOPF2oqAa_dG\u0026q=85\u0026s=1f2e6cab050d18d564cdeb5f723e684d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ravion.com/docs#website\",\"name\":\"Ravion Docs\",\"url\":\"https://www.ravion.com/docs\",\"publisher\":{\"@id\":\"https://www.ravion.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ravion.com/docs/cli/reference/stack#webpage\",\"url\":\"https://www.ravion.com/docs/cli/reference/stack\",\"name\":\"ravion stack\",\"description\":\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.\",\"dateModified\":\"2026-11-11T21:52:18.695Z\",\"isPartOf\":{\"@id\":\"https://www.ravion.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ravion.com/docs/cli/reference/stack#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ravion.com/docs/cli/reference/stack#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Command reference\",\"item\":\"https://www.ravion.com/docs/cli/reference/alert\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ravion stack\",\"item\":\"https://www.ravion.com/docs/cli/reference/stack\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.ravion.com/docs/cli/reference/stack#article\",\"headline\":\"ravion stack\",\"name\":\"ravion stack\",\"description\":\"Manage Ravion-managed Terraform stacks, inspect resources and state, and trigger plan and apply runs from the ravion stack commands.\",\"url\":\"https://www.ravion.com/docs/cli/reference/stack\",\"mainEntityOfPage\":{\"@id\":\"https://www.ravion.com/docs/cli/reference/stack#webpage\"},\"image\":\"https://www.ravion.com/og/docs/cli/reference/stack.png\",\"dateModified\":\"2026-11-11T21:52:18.695Z\",\"publisher\":{\"@id\":\"https://www.ravion.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ravion.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ravion Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ravion Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/cli/reference/stack.md","siteName":"Ravion Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Deploy to AWS","pages":[{"title":"Deploy to AWS","href":"/deploy/aws"}]},{"tab":"CLI","groups":[{"group":"Get started","boost":0.5,"pages":[{"title":"CLI overview","sidebarTitle":"CLI overview","href":"/cli/overview"},{"title":"Install the Ravion CLI","sidebarTitle":"Installation","href":"/cli/installation"},{"title":"Authenticate the Ravion CLI with API keys","sidebarTitle":"Authentication","href":"/cli/authentication"},{"title":"Releases and changelog","href":"/cli/releases"}]},{"group":"Command reference","boost":0.5,"pages":[{"title":"ravion alert","sidebarTitle":"alert","href":"/cli/reference/alert"},{"title":"ravion analytics","sidebarTitle":"analytics","href":"/cli/reference/analytics"},{"title":"ravion api-key","sidebarTitle":"api-key","href":"/cli/reference/api-key"},{"title":"ravion aws","sidebarTitle":"aws","href":"/cli/reference/aws"},{"title":"ravion billing","sidebarTitle":"billing","href":"/cli/reference/billing"},{"title":"ravion bug","sidebarTitle":"bug","href":"/cli/reference/bug"},{"title":"ravion certificate","sidebarTitle":"certificate","href":"/cli/reference/certificate"},{"title":"ravion code-source","sidebarTitle":"code-source","href":"/cli/reference/code-source"},{"title":"ravion default-value","sidebarTitle":"default-value","href":"/cli/reference/default-value"},{"title":"ravion deploy","sidebarTitle":"deploy","href":"/cli/reference/deploy"},{"title":"ravion describe","sidebarTitle":"describe","href":"/cli/reference/describe"},{"title":"ravion domain","sidebarTitle":"domain","href":"/cli/reference/domain"},{"title":"ravion environment","sidebarTitle":"environment","href":"/cli/reference/environment"},{"title":"ravion execution-environment","sidebarTitle":"execution-environment","href":"/cli/reference/execution-environment"},{"title":"ravion feature-flag","sidebarTitle":"feature-flag","href":"/cli/reference/feature-flag"},{"title":"ravion feedback","sidebarTitle":"feedback","href":"/cli/reference/feedback"},{"title":"ravion git","sidebarTitle":"git","href":"/cli/reference/git"},{"title":"ravion github-actions","sidebarTitle":"github-actions","href":"/cli/reference/github-actions"},{"title":"ravion infrastructure-event","sidebarTitle":"infrastructure-event","href":"/cli/reference/infrastructure-event"},{"title":"ravion integration","sidebarTitle":"integration","href":"/cli/reference/integration"},{"title":"ravion login","sidebarTitle":"login","href":"/cli/reference/login"},{"title":"ravion logout","sidebarTitle":"logout","href":"/cli/reference/logout"},{"title":"ravion logs","sidebarTitle":"logs","href":"/cli/reference/logs"},{"title":"ravion membership","sidebarTitle":"membership","href":"/cli/reference/membership"},{"title":"ravion metrics","sidebarTitle":"metrics","href":"/cli/reference/metrics"},{"title":"ravion module","sidebarTitle":"module","href":"/cli/reference/module"},{"title":"ravion organization","sidebarTitle":"organization","href":"/cli/reference/organization"},{"title":"ravion pipeline","sidebarTitle":"pipeline","href":"/cli/reference/pipeline"},{"title":"ravion project","sidebarTitle":"project","href":"/cli/reference/project"},{"title":"ravion report","sidebarTitle":"report","href":"/cli/reference/report"},{"title":"ravion service-account","sidebarTitle":"service-account","href":"/cli/reference/service-account"},{"title":"ravion setup","sidebarTitle":"setup","href":"/cli/reference/setup"},{"title":"ravion shell-completion","sidebarTitle":"shell-completion","href":"/cli/reference/shell-completion"},{"title":"ravion signup","sidebarTitle":"signup","description":"Sign up for a new Ravion account from the CLI, create an initial organization, and store credentials for immediate use in your shell.","href":"/cli/reference/signup"},{"title":"ravion stack","sidebarTitle":"stack","href":"/cli/reference/stack"},{"title":"ravion support","sidebarTitle":"support","description":"Manage supports","href":"/cli/reference/support"},{"title":"ravion switch","sidebarTitle":"switch","href":"/cli/reference/switch"},{"title":"ravion terraform","sidebarTitle":"terraform","href":"/cli/reference/terraform"},{"title":"ravion user","sidebarTitle":"user","href":"/cli/reference/user"},{"title":"ravion values","sidebarTitle":"values","href":"/cli/reference/values"},{"title":"ravion version","sidebarTitle":"version","href":"/cli/reference/version"},{"title":"ravion whoami","sidebarTitle":"whoami","href":"/cli/reference/whoami"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"ravion stack - Ravion Docs","deploymentId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","buildId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","dynamics":[],"chunks":[]}