Skip to content

Commit

Permalink
add modules handling - can init your code to pull modules (if you can)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWoolfenden committed Aug 30, 2022
1 parent 9353cd4 commit f799700
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 19 deletions.
10 changes: 6 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Install from code:

>choco install pike
### Docker
### Docker

>docker pull jameswoolfenden/pike
>
Expand Down Expand Up @@ -368,13 +368,15 @@ COMMANDS:
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--arn value, -a value Policy identifier e.g. arn (default: "arn:aws:iam::680235478471:policy/basic") [%ARN%]
--arn value, -a value Policy identifier e.g. arn (default: "arn:aws:iam::680235478471:policy/basic") [$ARN]
--config FILE, -c FILE Load configuration from FILE
--directory value, -d value Directory to scan (defaults to .) (default: ".")
--file value, -f value File to scan
--help, -h show help (default: false)
--output json, -o json Output types e.g. json terraform [%OUTPUT%]
--init, -i Run Terraform init to download modules (default: false)
--output json, -o json Output types e.g. json terraform [$OUTPUT]
--version, -v print the version (default: false)
--wait value, -W value Time to wait for policy change (in tenths of seconds) (default: 100) [%WAIT%]
--wait value, -W value Time to wait for policy change (in tenths of seconds) (default: 100) [$WAIT]

```

Expand Down
12 changes: 8 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ require (
github.com/aws/aws-sdk-go-v2 v1.16.11
github.com/aws/aws-sdk-go-v2/config v1.17.0
github.com/aws/aws-sdk-go-v2/service/iam v1.18.13
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/hc-install v0.4.0
github.com/hashicorp/hcl/v2 v2.13.0
github.com/hashicorp/terraform-exec v0.17.2
github.com/urfave/cli/v2 v2.10.3
)

Expand All @@ -23,14 +26,15 @@ require (
github.com/aws/aws-sdk-go-v2/service/sts v1.16.13 // indirect
github.com/aws/smithy-go v1.12.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/terraform-json v0.14.0 // indirect
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sergi/go-diff v1.0.0 // indirect
github.com/stretchr/testify v1.5.1 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
github.com/zclconf/go-cty v1.8.0 // indirect
github.com/zclconf/go-cty v1.10.0 // indirect
golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

require (
Expand Down
Loading

0 comments on commit f799700

Please sign in to comment.