WIP: Allow deployment on incus #17

Draft
tc424 wants to merge 11 commits from tc424/core-infra:incus-test into main
Owner
No description provided.
Owner

Looks sensible. Only comment I'd have is perhaps renaming the "image_names" module to "provider_metadata", to make it easy to reuse for other provider-specific stuff (like DNS servers?).
If adding more stuff, it might also be less annoying to read if it had a variable for "provider", rather than returning all of the data and doing the filter on use.

Looks sensible. Only comment I'd have is perhaps renaming the "image_names" module to "provider_metadata", to make it easy to reuse for other provider-specific stuff (like DNS servers?). If adding more stuff, it might also be less annoying to read if it had a variable for "provider", rather than returning all of the data and doing the filter on use.
Author
Owner

Yeah, I was thinking about renaming it. The other option that occurred to me was just to inline the per-provider data into the modules for each provider using locals? I assume that's possible in tf ..

Yeah, I was thinking about renaming it. The other option that occurred to me was just to inline the per-provider data into the modules for each provider using locals? I assume that's possible in tf ..
Owner

You mean put it in the "scaleway_instance" module etc. ? That'd work, though it might make it easy to forget to add equivs for other providers (if we care about that).

You mean put it in the "scaleway_instance" module etc. ? That'd work, though it might make it easy to forget to add equivs for other providers (if we care about that).
which is being deployed potentially to one of a selection of
different cloud providers (or similar local environments, e.g.
incus.) This is an otherwise missing feature in terraform:
https://github.com/hashicorp/terraform/issues/1439
separate file; this means only this file needs to be converted
to terranix to allow templating, making life easier for people
who prefer to read HCL :)
This pull request has changes conflicting with the target branch.
  • flake.lock
  • flake.nix
  • identity-services/config_scripts/identity.tf
  • terraform/environments.auto.tfvars
  • terraform/variables.tf
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u incus-test:tc424-incus-test
git switch tc424-incus-test
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
spoons.technology/core-infra!17
No description provided.