Skip to content

Instantly share code, notes, and snippets.

@junjihashimoto
Created October 3, 2014 10:06
Show Gist options
  • Save junjihashimoto/c4ad857d459e91b20cb5 to your computer and use it in GitHub Desktop.
Save junjihashimoto/c4ad857d459e91b20cb5 to your computer and use it in GitHub Desktop.
cmd/run-inst.hs:40:12:
Couldn't match type `TerminateInstances' with `RunInstances'
When using functional dependencies to combine
Transaction TerminateInstances Value,
arising from the dependency `a -> r'
in the instance declaration in `Aws.Ec2.Commands.TerminateInstances'
Transaction RunInstances Value,
arising from a use of `simpleAws' at cmd/run-inst.hs:40:12-24
In the expression:
simpleAws cfg (QueryAPIConfiguration $ B.pack region)
In a stmt of a 'do' block:
val <- simpleAws cfg (QueryAPIConfiguration $ B.pack region)
$ RunInstances
(T.pack imageid)
(1, 1)
(T.pack instType)
[]
[]
Nothing
False
False
(Just Stop)
False
Nothing
Nothing
Nothing
Nothing
Nothing
Nothing
Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment