Last active
December 18, 2016 02:21
-
-
Save Atalanta/4f10a191903b3d92e12f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| driver: | |
| name: ec2 | |
| aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %> | |
| aws_secret_access_key: <%= ENV['AWS_SECRET_KEY'] %> | |
| aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %> | |
| ssh_key: <%= File.expand_path("~/.ssh/#{ENV['AWS_SSH_KEY_ID']}.pem") %> | |
| security_group_ids: ["sg-1dd01074"] | |
| region: us-east-1 | |
| availability_zone: us-east-1d | |
| require_chef_omnibus: true | |
| provisioner: | |
| name: chef_zero | |
| platforms: | |
| - name: centos | |
| driver: | |
| image_id: ami-785bae10 | |
| username: ec2-user | |
| flavor_id: m3.medium | |
| suites: | |
| - name: default | |
| run_list: | |
| data_bags_path: | |
| attributes: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ kitchen create | |
| -----> Starting Kitchen (v1.2.1) | |
| -----> Creating <default-centos>... | |
| EC2 instance <i-acf99d47> created. | |
| ............ (server ready) | |
| (ssh ready)\n | |
| Finished creating <default-centos> (0m58.18s). | |
| -----> Kitchen is finished. (0m59.16s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment