Skip to main content

Allow Stack / Context Environment Variables without a value

I would like to be able to define an Environment Variable in Stack / Context without a value (null), so that I can set its content later, when I need it. The example might be:

TF_VAR_really_long_variable_name_that_I_do_not_remember = <no_value / null>

I also would like to be able to create this with spacelift_environment_variable TF resource.

Workaround
Problem
Status: 🔭 Discovery1 comment

Log in to comment and vote

Comments1

  • Black Breeze

    •

    Dec 15, 2025

    Thanks for the feedback Ivo! To be perfectly honest with you this is the first time I’m hearing a request like this, so you have my attention. The self-service angle is of particular interest to us because we’re currently working on improving the blueprint experience. Would you be able to give us a demo of what you’re building on top of Spacelift? Our devs may be able to learn a thing or two, and perhaps suggest solutions or workarounds to the problem at hand.