Skip to content

Commit 5500a4e

Browse files
committed
Updated dynatrace_platform_bucket resource doc
1 parent 887115b commit 5500a4e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates/resources/platform_bucket.md.tmpl

+9
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ provider "dynatrace" {
3939
```
4040
-> In order to handle credentials in a secure manner we recommend to use the environment variables `DYNATRACE_AUTOMATION_CLIENT_ID` and `DYNATRACE_AUTOMATION_CLIENT_SECRET` as an alternative.
4141

42+
## Environment Variables (Optional)
43+
44+
There may be a delay for this resource to be fully available as a dependency for a subsequent resource. E.g. Utilizing this resource and `dynatrace_log_buckets` together.
45+
46+
A default polling mechanism exists to validate the creation but may require tweaking due to load. The following environment variables can be used to fine tune these settings.
47+
48+
- `DT_BUCKETS_RETRIES` (Default: 180, Max: 360) configures the maximum attempts to confirm that the operation (create, update or delete) has succeeded and was completed on the server side. There is a two second delay between consecutive attempts, therefore the check completes with at most 720 seconds with the maximum setting.
49+
- `DT_BUCKETS_NUM_SUCCESSES` (Default: 10, Max: 50) configures the number of successful consecutive retries expected, this applies to creating the resource only.
50+
4251
## Resource Example Usage
4352

4453
{{ tffile "dynatrace/api/platform/buckets/testdata/terraform/example-a.tf" }}

0 commit comments

Comments
 (0)