Here’s a sample of kitchen files we use for ec2 provisioning, now that you’ve found that driver (we have wrapper automation that fills in those env vars, obviously)
driver: name: ec2 ssh_key: <%= ENV['SSH_KEY_FILE'] %> aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %> region: us-west-1 availability_zone: <%= ENV['AWS_ZONE'] %> require_chef_omnibus: true subnet_id: <%= ENV['AWS_SUBNET'] %> security_group_ids: ‘<%= ENV[‘AWS_SEC_GROUP'] %>' flavor_id: 't1.micro'
provisioner: name: chef_solo
platforms: - name: centos-6.4
suites: - name: default run_list: - recipe[ci-jenkins::default] attributes: { "ci-jenkins": { "enable_cookbook_testing": true } }
From: Torben Knerr <
">
>
Reply-To: " "> " < "> > Date: Tuesday, October 28, 2014 at 12:32 AM To: " "> " < "> > Subject: [chef] Re: AWS Spot instances for Integration-Testing Cookbooks on Github Weeeee, just found there is a kitchen-ec2 driver, and it has support for spot instances... neat! :-) Am 28.10.2014 08:24 schrieb "Torben Knerr" <
">
>:
Hi everybody, |
Archive powered by MHonArc 2.6.16.