Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created February 7, 2018 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/a997193661835c114d30b10ea101a8f3 to your computer and use it in GitHub Desktop.
Save grahamc/a997193661835c114d30b10ea101a8f3 to your computer and use it in GitHub Desktop.
[nix-shell:~/projects/tweag/terraform-provider-nixos/proof-of-concept/demo]$ nixops create ./network.nix -d terraform-example
created deployment ‘5fe060f5-0c2c-11e8-ae16-0a0027000000’
5fe060f5-0c2c-11e8-ae16-0a0027000000
[nix-shell:~/projects/tweag/terraform-provider-nixos/proof-of-concept/demo]$ nixops deploy
error: state file contains multiple deployments, so you should specify which one to use using ‘-d’, or set the environment variable NIXOPS_DEPLOYMENT
[nix-shell:~/projects/tweag/terraform-provider-nixos/proof-of-concept/demo]$ nixops deploy -d terraform-example
error: (sqlalchemy.exc.ResourceClosedError) This Connection is closed [SQL: u"select value from DeploymentAttrs where deployment = '5fe060f5-0c2c-11e8-ae16-0a0027000000' and name = 'datadogEventInfo'"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment