Popularity
0.6
Stable
Activity
0.0
Stable
0
1
0

Monthly Downloads: 7
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Cloud     AWS     Infrastructure    
Latest version: v0.1.1

kerry alternatives and similar packages

Based on the "AWS" category.
Alternatively, view kerry alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of kerry or a related project?

Add another 'AWS' Package

README

kerry

Packer configuration and serialization.

Hackage

Example


import           Kerry

write :: FilePath -> IO ()
write path =
  writeFile path (renderPacker example)

example :: Packer
example =
  Packer {
      variables = [
          UserVariable "name" "example-packer"
        ]
    , builders = [
          Builder (AmazonEBSBuilder $ aws builder) Nothing ssh
        ]
    , provisioners = []
    , postProcessors = []
    }

ssh :: Communicator
ssh =
  SSH $ defaultSSHCommunicator "ec2-user"

aws :: a -> AWS a
aws builder =
  AWS {
      awsRegion = "us-west-2"
    , awsCredentials = EnvironmentVariables
    , awsBuilder = builder
    }

builder :: EBS
builder =
 ebs
   "test"
   (SourceAmiId "ami-fred")
   "m4.xlarge"