@@ -78,19 +78,19 @@ Use this **advanced** deployment model when:
7878 terraform init
7979 ```
8080
81- 1 . ** Review the deployment plan** :
81+ 1 . ** Review the deployment plan** . You will need to:
82+ - Set the project ID where the scanner will be deployed
83+ - Set your Datadog [ API key] ( https://docs.datadoghq.com/account_management/api-app-keys/ )
84+ - Set your Datadog site
85+
8286 ``` sh
8387 terraform plan \
8488 -var=" scanner_project_id=my-scanner-project" \
8589 -var=" datadog_api_key=$DD_API_KEY " \
8690 -var=" datadog_site=datadoghq.com"
8791 ```
8892
89- 1 . ** Deploy the scanner infrastructure** . You will need to:
90- - Set your scanner project ID
91- - Set your Datadog [ API key] ( https://docs.datadoghq.com/account_management/api-app-keys/ )
92- - Set your Datadog site
93-
93+ 1 . ** Deploy the scanner infrastructure** :
9494 ``` sh
9595 terraform apply \
9696 -var=" scanner_project_id=my-scanner-project" \
@@ -107,6 +107,7 @@ Use this **advanced** deployment model when:
107107### Step 2: Set up Other Projects for Scanning
108108
1091091 . Go to the ` other_project ` folder.
110+ 1 . Configure your other gcp project ` gcloud config set project my-other-project ` .
1101111 . Run ` terraform init ` .
1111121 . Run ` terraform plan ` to review the changes.
1121131 . Run ` terraform apply ` to deploy.
@@ -116,6 +117,7 @@ Use this **advanced** deployment model when:
116117Example:
117118``` sh
118119cd ../other_project
120+ gcloud config set project my-other-project
119121terraform init
120122terraform plan \
121123 -var=" scanned_project_id=my-other-project" \
0 commit comments