inspec-iggy 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -6
- data/README.md +91 -40
- data/inspec-iggy.gemspec +13 -13
- data/lib/inspec-iggy.rb +11 -2
- data/lib/inspec-iggy/cloudformation/cli_command.rb +92 -0
- data/lib/inspec-iggy/cloudformation/parser.rb +106 -0
- data/lib/inspec-iggy/inspec_helper.rb +62 -40
- data/lib/inspec-iggy/plugin.rb +43 -0
- data/lib/inspec-iggy/profile.rb +74 -0
- data/lib/inspec-iggy/terraform/cli_command.rb +94 -0
- data/lib/inspec-iggy/terraform/parser.rb +147 -0
- data/lib/inspec-iggy/version.rb +4 -4
- metadata +13 -16
- data/lib/inspec-iggy/cli.rb +0 -53
- data/lib/inspec-iggy/cloudformation.rb +0 -104
- data/lib/inspec-iggy/terraform.rb +0 -146
- data/test/bad.json +0 -6
- data/test/bjc-demo-aws-4.5.4.json +0 -851
- data/test/main.tf +0 -156
- data/test/outputs.tf +0 -11
- data/test/terraform.tfstate +0 -383
- data/test/variables.tf +0 -35
data/test/variables.tf
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# Two-Tier example from https://github.com/terraform-providers/terraform-provider-aws
|
2
|
-
|
3
|
-
variable "public_key_path" {
|
4
|
-
description = <<DESCRIPTION
|
5
|
-
Path to the SSH public key to be used for authentication.
|
6
|
-
Ensure this keypair is added to your local SSH agent so provisioners can
|
7
|
-
connect.
|
8
|
-
|
9
|
-
Example: ~/.ssh/terraform.pub
|
10
|
-
DESCRIPTION
|
11
|
-
}
|
12
|
-
|
13
|
-
variable "private_key_path" {
|
14
|
-
description = "Path to the private key - for ssh login. Example: ~/.ssh/terraform.pem"
|
15
|
-
}
|
16
|
-
|
17
|
-
variable "key_name" {
|
18
|
-
description = "Desired name of AWS key pair"
|
19
|
-
}
|
20
|
-
|
21
|
-
variable "aws_region" {
|
22
|
-
description = "AWS region to launch servers."
|
23
|
-
default = "us-west-1"
|
24
|
-
}
|
25
|
-
|
26
|
-
# Ubuntu Precise 12.04 LTS (x64)
|
27
|
-
variable "aws_amis" {
|
28
|
-
default = {
|
29
|
-
eu-central-1 = "ami-fa2fb595"
|
30
|
-
eu-west-1 = "ami-674cbc1e"
|
31
|
-
us-east-1 = "ami-1d4e7a66"
|
32
|
-
us-west-1 = "ami-969ab1f6"
|
33
|
-
us-west-2 = "ami-8803e0f0"
|
34
|
-
}
|
35
|
-
}
|