Closed larssb closed 3 years ago
And btw. The libvirt provider IS installed and works in a Terragrunt/Terraform setting.
Oh I see. Bummer. I was incorrect about terraspace working with only on-prem resources only. Just tested it. A few notes:
Note: Also tested with TFC and AWS also this morning and that works: https://gist.github.com/tongueroo/6f20cf014406021fc9ebf3f7f1bc139b
I'm no Ruby expert. But, I really like this framework and the way it tries to keep things DRY. However, maybe you could give me some pointers on where to start? It sounds like the tasks are:
Does that sound about right?
Thank you
Sure. Thanks for the kind words. That sounds about right.
RE: plugin
Note, there's a plugin generator https://terraspace.cloud/reference/terraspace-new-plugin/ Created it after built 2 plugins. It's probably does not have the up-to-date interface anymore, but thinking it'll help. Lot of the terraspace plugin interfaces are based on dogfooding. The interfaces will probably change based on that dogfooding. Found that's usually the best way to build them. So there are some cavaets. It's also decent amount of effort. Of course, no sweat either way 👍
Checklist
My Environment
Expected Behaviour
I'm expecting/hoping to be able to use this libvirt provider with Terraspace. For now it can only be used as a local provider until the project have uploaded it to the HashiCorp Terraform registry.
Current Behavior
When executing
terrspace up STACK_NAME
Terraspace throws the following error:Re-producing
terraspace new project WHATEVER_NAME
terraspace new stack test-k3s-cluster
terraspace new module k3s-cluster
the files relative to the stack: test-k3s-cluster should contain
the files relative to the module: k3s-cluster should contain
Terraspace/Terraform config files should contain:
The project structure is:
terraspace up test-k3s-cluster
and the err should be seen after some timeLogs
Other comments
I'm also befuddled on why the cache is created at this path:
.terraspace-cache/us-east-1/dev/stacks/test-k3s-cluster/...
as I have no region specified anywhere.Also its like Terraspace thinks that it should interact with AWS. As these following warnings are displayed.
remote state
feature.Looking forward to all the help I can get. Any help is appreciated.
Thank you very much