NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.86k stars 365 forks source link

`resources.elasticIPs.<name>` not creating elastic IP #1562

Open BLucky-gh opened 1 year ago

BLucky-gh commented 1 year ago

I can create an s3 bucket and an IAM role and bind that role to an ec2 server via resources.<type>.<name>, but when I set resources.elasticIPs.<name> it doesn't get created (nixops info -d <name> doesn't show the elastic ip in the list) and resources.elasticIPs.<name>.address stays at _UNKNOWN_ELASTIC_IP_.

also when I try to set deployment.ec2.elasticIPv4 to resources.elasticIPs.<name> I get the error that resources.elasticIPs.<name> is not of type elastic-ip

additional info: nixops --version = NixOps 2.0.0-pre-fc9b55c the network configuration is supplied via flake