Skip to main content
2 votes
Accepted

How do I export my state from my stack while using Spacelift?

The Terraform state file can be pulled and then exported using a Task. For example, to export the state to an Amazon S3 bucket, you would run the following command as a Task: terraform state pull > ...
Spacelift's user avatar
  • 163
1 vote
Accepted

Flux somehow tries to bootstrap on random cluster

You don't need these blocks: provider "flux" { ... } and resource "flux_bootstrap_git" "this" { ... } Azure does it for you with azurerm_kubernetes_flux_configuration ...
Bobby Donchev's user avatar
1 vote

What is the "best practice" way to set Terraform variable values?

There isn't a "one-size-fits-all" answer to which approach is the "official" or "accepted" best practice, as it largely depends on factors such as project requirements, ...
Ajay's user avatar
  • 210
1 vote
Accepted

Worker Pool in Spacelift showing as 0 workers

Normally this is due to wrong values being passed, specifically these: SPACELIFT_TOKEN - the token you’ve received from Spacelift on worker pool creation ( this would be in a file called worker-pool-x....
Spacelift's user avatar
  • 163
1 vote
Accepted

How can I attach multiple AWS accounts to my Spacelift stack?

The is certainly achievable and here are some ways to get this accomplished: Have a Spacelift Cloud Integration associated with an IAM role in the shared services account that has cross-account ...
Spacelift's user avatar
  • 163
1 vote
Accepted

How can I use modules that are hosted on Spacelift outside of Spaceilft?

Modules hosted in the private registry can be used outside of Spacelift but you need to correctly verify your credentials or it may show that the module has no versions. The easiest way is to have ...
Spacelift's user avatar
  • 163
1 vote
Accepted

Why is my private worker crashing on Spacelift?

The most common reason is that it has run out of memory. It is worth checking the CPU and memory usage of the workers, this can happen with really big stacks that are using an EC2 instance (or ...
Spacelift's user avatar
  • 163
1 vote
Accepted

Spacelift - external state access - cannot create a workspace error

Check if the caller stack is set to Administrative.
ShadowMan's user avatar
1 vote
Accepted

How To Convert Jenkins String Parameter To Terraform Map Variable? (Invalid number literal)

I figured it out! You can substitute 'vm1' for any value that identifies the first map object. terraform apply -var vms='''{vm1: {name: "ubuntu",ip: "${params.IP1}"}}''' --auto-...
Mark Matlock's user avatar
1 vote

What is the best way to install ArgoCD as code?

It seems that Kustomize is the way to go. That is what they use for most of the official Argo CD repositories (e.g., argoproj/argo-cd, argoproj/argoproj-deployments and argoproj-labs/argocd-extensions)...
lindhe's user avatar
  • 113

Only top scored, non community-wiki answers of a minimum length are eligible