databricks / terraform-provider-databricks

Databricks Terraform Provider
https://registry.terraform.io/providers/databricks/databricks/latest
Other
456 stars 393 forks source link

[Doc] Update mws_log_delivery.md to add time_sleep #4258

Closed LittleWat closed 18 hours ago

LittleWat commented 19 hours ago

Changes

without this sleep,

I faced the following error:

02:58:20.315 STDERR tofu: │ Error: cannot create mws log delivery: Failed to perform putObject operations on s3Bucket:dbx-dev-logging-audit with deliveryPathPrefix:dbx-dev-logging-audit with the IAM Role:arn:aws:iam::577638361399:role/dbx-dev-logging-audit-delivery-role provided. Please add all required s3 actions as mentioned in API docs to role policy of your IAM Role.
02:58:20.315 STDERR tofu: │ 
02:58:20.315 STDERR tofu: │   with databricks_mws_log_delivery.audit_logs,
02:58:20.315 STDERR tofu: │   on main.tf line 42, in resource "databricks_mws_log_delivery" "audit_logs":
02:58:20.315 STDERR tofu: │   42: resource "databricks_mws_log_delivery" "audit_logs" {

Related issue: https://kb.databricks.com/terraform/failed-credential-validation-checks-error-with-terraform

By adding this time_sleep, I could avoid the error.

Tests

github-actions[bot] commented 19 hours ago

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger: go/deco-tests-run/terraform

Inputs:

Checks will be approved automatically on success.

eng-dev-ecosystem-bot commented 19 hours ago

Test Details: go/deco-tests/11949797225