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
[Internal] Add Well Known Types Documentation (#4775)
## Changes
<!-- Summary of your changes that are easy to understand -->
Add a README.md section on well known types
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [ ] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] using Go SDK
- [ ] using TF Plugin Framework
NO_CHANGELOG=true
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,3 +99,43 @@ If you didn't check-in [`.terraform.lock.hcl`](https://www.terraform.io/language
99
99
## Use of Terraform exporter
100
100
101
101
The exporter functionality is experimental and provided as is. It has an evolving interface, which may change or be removed in future versions of the provider.
102
+
103
+
## Well-Known Types
104
+
105
+
### Duration Fields
106
+
107
+
Duration fields accept Go-style duration strings. Use standard time units like `s` (seconds), `m` (minutes), `h` (hours).
108
+
109
+
```hcl
110
+
resource "databricks_example" "this" {
111
+
timeout_duration = "30m" # 30 minutes
112
+
retry_delay = "10s" # 10 seconds
113
+
max_lifetime = "24h" # 24 hours
114
+
short_timeout = "500ms" # 500 milliseconds
115
+
}
116
+
```
117
+
118
+
### Timestamp Fields
119
+
120
+
Timestamp fields require RFC3339 formatted datetime strings. Include timezone information for best results.
121
+
122
+
```hcl
123
+
resource "databricks_example" "this" {
124
+
start_time = "2023-10-15T14:30:00Z" # UTC timezone
0 commit comments