You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gcp/examples/single_region/README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This folder shows an example of Terraform code that uses the [datadog-agentless-scanner module](https://github.com/Datadog/terraform-module-datadog-agentless-scanner/tree/main/gcp) to deploy a Datadog Agentless scanner in your [GCP](https://cloud.google.com/) project.
4
4
5
-
With this deployment, a single Agentless scanner is deployed in a single region with instances distributed across multiple zones for high availability. Datadog recommends this option for most use cases.
5
+
With this deployment, a single Agentless scanner is deployed in a single region with instances distributed across multiple zones for high availability.
6
6
7
7
**Note**: The region is configured via the Google provider. In this example, `us-central1` is used, but you can change it to any GCP region.
8
8
@@ -35,6 +35,14 @@ To deploy a Datadog agentless scanner:
35
35
terraform init
36
36
```
37
37
38
+
1.**Review the deployment plan**:
39
+
```sh
40
+
terraform plan \
41
+
-var="project_id=my-gcp-project" \
42
+
-var="datadog_api_key=$DD_API_KEY" \
43
+
-var="datadog_site=datadoghq.com"
44
+
```
45
+
38
46
1.**Deploy the scanner**. You will need to:
39
47
- Set your GCP project ID
40
48
- Set your Datadog [API key](https://docs.datadoghq.com/account_management/api-app-keys/)
@@ -60,7 +68,7 @@ To deploy a Datadog agentless scanner:
60
68
61
69
You have two options for providing the Datadog API key:
62
70
63
-
1.**Pass the API key directly** (shown in examples below):
71
+
1.**Pass the API key directly** (shown in examples above):
0 commit comments