Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datadog_logs_archive] Make project id optional in GCS destination #2299

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion datadog/resource_datadog_logs_archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func resourceDatadogLogsArchive() *schema.Resource {
"bucket": {Description: "Name of your GCS bucket.", Type: schema.TypeString, Required: true},
"path": {Description: "Path where the archive is stored.", Type: schema.TypeString, Optional: true},
"client_email": {Description: "Your client email.", Type: schema.TypeString, Required: true},
"project_id": {Description: "Your project id.", Type: schema.TypeString, Required: true},
"project_id": {Description: "Your project id.", Type: schema.TypeString, Optional: true},
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/logs_archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ Required:

- `bucket` (String) Name of your GCS bucket.
- `client_email` (String) Your client email.
- `project_id` (String) Your project id.

Optional:

- `path` (String) Path where the archive is stored.
- `project_id` (String) Your project id.


<a id="nestedblock--s3_archive"></a>
Expand Down