NixOS / nixops-aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tag ec2 snaps with deployment name

tewfik-ghariani opened this issue · comments

Hello all,

Would like to add a minor enhancement related to the ec2 snapshot's name taken as part of a backup operation. In fact, currently the network 'description' is being used within the snap name while usually it is not being set or the default one is being used ( Unnamed NixOps network )

https://github.com/NixOS/nixops-aws/blob/master/nixopsaws/backends/ec2.py#L482

As a result, most of our snapshots do not really make sense and we cannot easily filter them in the AWS console.

If we use the deployment name instead we would ensure uniqueness and reliability.

PR merged : #5