Just became aware of terraspace and reading up on it. Looks very compelling and maybe addresses some of the non DRY struggles we are running into with terragrunt. Thanks for creating and sharing this.
I was going to try a little POC and see what it would take to migrate one of our terragrunt projects to terraspace – given they are both terraform under the covers, if I could wire things up correctly and point terraspace to our existing s3 tfstate buckets, then in theory I should be able to evaluate a project and see if terrform shows no changes when applying a plan.
There is at least one thing I can’t quite figure out though reading the documentation.
With terragrunt, we have terragrunt hcl files that basically look like this:
terraform {
source = "git@github.com:path/to/project//modules/my/module"
...
}
In the terraform stanza, we point to a remote module which terragrunt then retrieves and it becomes our “root” terraform module.
Is it possible in terraspace to point to a remote module as a projects root module? I see that that I can define a terraform.tf file and then reference modules in it, but they then act as child modules. This will then conflict with the original terraform state in s3 created via terragrunt.
I’m hoping to validate that a migration to terraspace from terragrunt would not involve a big in managing our projects terraform remote state.
Any ideas on how to manage this in terraspace?
Thanks in advance.