Closed tewfik-ghariani closed 3 years ago
I don't really see the issue being discussed in #9. Splitting out the options to a submodule in its own file is what I see and it makes sense to me, but I still think
machine = {
deployment.gce = {
bootstrapImage = resources.gceImages.custom-image;
};
}
should work. It's backwards compatible and makes more sense to me semantically.
You are correct @talyz
Updated this PR to add a simple example file
Thanks again!
PS This should also close https://github.com/nix-community/nixops-gce/issues/15
FYI @AmineChikhaoui
Fix the support for custom bootstrap image
Ref to https://github.com/nix-community/nixops-gce/pull/12
@talyz Hope this makes sense, I believe this was the consensus as discussed per https://github.com/nix-community/nixops-gce/pull/9 but if you think we should change it, please let me know