Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support expanding stack environment variables #96

Open
nitrocode opened this issue May 2, 2022 · 0 comments
Open

Support expanding stack environment variables #96

nitrocode opened this issue May 2, 2022 · 0 comments

Comments

@nitrocode
Copy link
Member

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

https://registry.terraform.io/providers/spacelift-io/spacelift/latest/docs/resources/environment_variable

# For a stack
resource "spacelift_environment_variable" "core-kubeconfig" {
  stack_id   = "k8s-core"
  name       = "KUBECONFIG"
  value      = "/project/spacelift/kubeconfig"
  write_only = false
}

It would be nice to be able to add env variables on the fly using atmos for spacelift using this module

components:
  terraform:
    xyz:
      settings:
        spacelift:
          workspace_enabled:
            environment_variables:
              ATMOS_BASE_PATH: /mnt/workspace/source/terraform/.terraform/modules/monorepo
@nitrocode nitrocode changed the title Support stack environment variables Support expanding stack environment variables May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant