Commit graph

41 commits

Author SHA1 Message Date
Christoph Hartmann
bbe60c9614 Merge pull request #28 from chef/issue25
Add a new access-key resource
2017-04-18 15:12:06 +02:00
Chris Redekop
915e2fd7c6 Updates based on PR feedback
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Chris Redekop
3cdb639a0c Uncomment unit tests
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Chris Redekop
fcb8d17feb Incorporate PR feedback
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Chris Redekop
44e15b85f9 Update usage example
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Chris Redekop
e0dfbad730 Fix Rubocop issue
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Chris Redekop
d428a96bab Add a new access-key resource
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-04-18 15:03:31 +02:00
Christoph Hartmann
aff0185f48 Merge pull request #29 from chef/issue20
Add iam password policy
2017-04-12 22:33:33 +02:00
Viktor Yakovlyev
ff72e81915 Add iam password policy
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

wire up mock resource twice

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

cleaning up as per pr feedback

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

style fixes

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

fix indent in test

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

remove unneeded line

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>

use minitest mock instead of object

Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-04-11 14:16:21 -04:00
Steffanie Freeman
298d7b09b1 Merge pull request #23 from chef/UpdateGitIgnore
Add files to gitignore
2017-03-29 15:34:33 -04:00
sfreeman
a148780216 Add files to gitignore
Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-03-29 15:29:01 -04:00
Christoph Hartmann
d28064d15d Merge pull request #19 from chef/issue6
Implement aws_iam_user resource
2017-03-16 16:09:17 +01:00
sfreeman
d9221bb925 Add ability to choose a user by username
Add has MFA enabled member
Add "has console password" member

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-03-15 15:49:13 -04:00
Christoph Hartmann
6657a5d48d Merge pull request #17 from chef/issue15
Add rake task to clean up integration test instances
2017-02-27 15:18:05 +01:00
Chris Redekop
33d4b196cc Cleanup the cleanup task
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-23 17:41:36 +00:00
Chris Redekop
ee6fbe6ac1 Update README to match Rakefile
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-22 14:16:58 +00:00
Chris Redekop
040d5cbffc Rename integration tasks
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-22 14:15:12 +00:00
Viktor Yakovlyev
88f6e5f716 update readme with new integration test behaviour
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 15:28:30 -05:00
Viktor Yakovlyev
5d6900fb86 add cleanup by default on integration tests
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 15:25:27 -05:00
Chris Redekop
6a098470fd Merge pull request #16 from chef/issue13
Fixes #13, return of false values for ec2#exists
2017-02-16 15:05:30 -05:00
Viktor Yakovlyev
bdd86542b0 add negative case test for exists?
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:33:21 -05:00
Viktor Yakovlyev
f0773ccc75 fix tests
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:27:35 -05:00
Viktor Yakovlyev
46919d7155 Merge branch 'issue13' of https://github.com/chef/inspec-aws into issue13 2017-02-16 14:03:08 -05:00
Viktor Yakovlyev
6ee43f8fb5 Adding check for ec2 instance existence. #13
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:02:44 -05:00
Chris Redekop
3cad7d1e78 #13, Ec2#exists returns false positives
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-16 14:02:44 -05:00
Christoph Hartmann
892d11aef2 Merge pull request #14 from chef/issue11
Add unit tests for EC2 resource
2017-02-14 18:40:37 +01:00
Christoph Hartmann
1117020d52 update readme 2017-02-14 18:38:19 +01:00
Chris Redekop
9d8afa5440 add tests for :instance and :exists
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-14 18:38:15 +01:00
Chris Redekop
1842cc2fd9 add another id-method test
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-14 18:38:11 +01:00
Chris Redekop
5d00aac059 Add unit test skeleton with Minitest dependency
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-14 18:38:06 +01:00
Viktor Yakovlyev
8b026d48ea Adding check for ec2 instance existence. #13
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-09 16:31:24 -05:00
Chris Redekop
a3a238aafc #13, Ec2#exists returns false positives
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-06 12:06:01 +00:00
Christoph Hartmann
c6fd091ec3 Merge pull request #10 from chef/chris-rock/integration
use terraform + inspec for integration testing
2017-01-24 21:53:29 +01:00
Christopher Redekop
e3d3204b2a Add a us-east-1 note to the README
Signed-off-by: Christopher Redekop <chris.redekop@d2l.com>
2017-01-24 21:51:10 +01:00
Christoph Hartmann
a55b341b32 use terraform + inspec for integration testing 2017-01-24 21:51:10 +01:00
Alex Bedley
1c5a8902ae Merge pull request #4 from chef/issue3
Fixes #3 - Add AWS_DEFAULT_REGION to the README
2017-01-17 13:25:16 -05:00
Christopher Redekop
66c7f2cb1f Fixes #3 - Add AWS_DEFAULT_REGION to the README
Signed-off-by: Christopher Redekop <chris.redekop@d2l.com>
2017-01-16 12:50:17 -05:00
Christoph Hartmann
a39ef7229f Merge pull request #8 from chef/chris-rock/travis
deactivate inspec check for now
2017-01-16 15:37:19 +01:00
Christoph Hartmann
51abba245f deactivate inspec check for now 2017-01-16 14:36:52 +01:00
Christoph Hartmann
89209a91f8 add aws connection helper 2017-01-05 14:49:08 +01:00
Christoph Hartmann
46b65ba490 initial commit 2016-12-15 09:53:01 +01:00