mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
docs(tf-quickstart): Update example code for terraform-quickstart (#1086)
+ use primary repository rather than fork. + use default branch. + fixed a missing character typos. + remove blank end-of-line spaces. @singergs: thanks for adding this code and the video.
This commit is contained in:
@@ -11,27 +11,25 @@ Installing Prowler with Terraform is simple and can be completed in under 1 minu
|
||||
- Start AWS CloudShell
|
||||
- Run the following commands to install Terraform and clone the Prowler git repo
|
||||
```
|
||||
git clone https://github.com/singergs/prowler.git
|
||||
git fetch
|
||||
git clone https://github.com/prowler-cloud/prowler.git
|
||||
cd prowler
|
||||
git checkout -t origin/terraform-kickstarter
|
||||
sudo yum install -y yum-utils
|
||||
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo
|
||||
sudo yum -y install terraform
|
||||
cd util/terraform-kickstarter
|
||||
```
|
||||
- Issue a `terraform init`
|
||||
|
||||
|
||||
- Issue a `terraform apply`
|
||||
|
||||

|
||||
|
||||
- It is likely an error will return related to the SecurityHub subscription. This appears to be Terraform related and you can validate the configuration by navigating to the SecurityHub console. Click Integreations and search for Prowler. Take noe of the green check where it says *Accepting findings*
|
||||
|
||||
|
||||
- It is likely an error will return related to the SecurityHub subscription. This appears to be Terraform related and you can validate the configuration by navigating to the SecurityHub console. Click Integreations and search for Prowler. Take note of the green check where it says *Accepting findings*
|
||||
|
||||

|
||||
|
||||
|
||||
Thats it! Install is now complete. The resources included a Cloudwatch event that will trigger the AWS Codebuild to run daily at 00:00 GMT. If you'd like to run an assessment after the deployment then simply navigate to the Codebuild console and start the job manually.
|
||||
Thats it! Install is now complete. The resources include a Cloudwatch event that will trigger the AWS Codebuild to run daily at 00:00 GMT. If you'd like to run an assessment after the deployment then simply navigate to the Codebuild console and start the job manually.
|
||||
|
||||
## Terraform Resources
|
||||
|
||||
@@ -92,5 +90,4 @@ No modules.
|
||||
|
||||
## Kickoff Prowler Assessment From Install to Assessment Demo (Link to YouTube)
|
||||
|
||||
|
||||
[](https://www.youtube.com/watch?v=ShhzIArO8X0 "Prowler Install")
|
||||
|
||||
Reference in New Issue
Block a user