Skip to content

Instantly share code, notes, and snippets.

@Briansbum
Created July 5, 2018 08:41
Show Gist options
  • Save Briansbum/f51d0d8cc807b2988acbe3c5a2f3edad to your computer and use it in GitHub Desktop.
Save Briansbum/f51d0d8cc807b2988acbe3c5a2f3edad to your computer and use it in GitHub Desktop.
⋊> ~/g/s/g/B/t/m/aws on policy-document-tests ↑ go test -v -timeout 30m -run TestAssertIAMPolicyIsCorrect 09:40:22
=== RUN TestAssertIAMPolicyIsCorrect
=== PAUSE TestAssertIAMPolicyIsCorrect
=== CONT TestAssertIAMPolicyIsCorrect
TestAssertIAMPolicyIsCorrect 2018-07-05T09:40:28+01:00 region.go:72: Looking up all AWS regions available in this account
TestAssertIAMPolicyIsCorrect 2018-07-05T09:40:29+01:00 region.go:57: Using region ap-northeast-1
--- PASS: TestAssertIAMPolicyIsCorrect (1.45s)
PASS
ok github.com/Briansbum/terratest/modules/aws 1.474s
⋊> ~/g/s/g/B/t/m/aws on policy-document-tests ↑ go test -v -timeout 30m -run TestAssertS3BucketPolicyIsCorrect 09:40:30
=== RUN TestAssertS3BucketPolicyIsCorrect
=== PAUSE TestAssertS3BucketPolicyIsCorrect
=== CONT TestAssertS3BucketPolicyIsCorrect
TestAssertS3BucketPolicyIsCorrect 2018-07-05T09:40:38+01:00 region.go:72: Looking up all AWS regions available in this account
TestAssertS3BucketPolicyIsCorrect 2018-07-05T09:40:39+01:00 region.go:57: Using region ap-south-1
TestAssertS3BucketPolicyIsCorrect 2018-07-05T09:40:39+01:00 s3_test.go:61: Random values selected. Region = ap-south-1, s3BucketName = gruntwork-terratest-1nulof
TestAssertS3BucketPolicyIsCorrect 2018-07-05T09:40:39+01:00 s3.go:106: Creating bucket ap-south-1 in gruntwork-terratest-1nulof
TestAssertS3BucketPolicyIsCorrect 2018-07-05T09:40:41+01:00 s3.go:130: Deleting bucket ap-south-1 in gruntwork-terratest-1nulof
--- PASS: TestAssertS3BucketPolicyIsCorrect (3.70s)
PASS
ok github.com/Briansbum/terratest/modules/aws 3.723s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment