input-output-hk / input-output-hk/bitte

Have a "stateVersion" setting for instance AMIs

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
161
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Terraform will do destructive updates when the ami differs. We should probably allow for individuals to pin the default ami chosen so that updates to the amis don't cause unnecessary replacement of cloud resources.

E.g:
```
cluster = {
defaultAMIRelease = "21.05";
....

# for instances
ami = (import (nixpkgs.path + /nixos/modules/virtualisation/ec2-amis.nix)."${cluster.defaultAMIRelease}"."${instance.region".hvm-ebs;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.