Skip to content

Commit 03228c7

Browse files
authored
Document new attributes in databricks_app resource and data sources (#5108)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [x] `make test` run locally - [x] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework - [x] has entry in `NEXT_CHANGELOG.md` file
1 parent 8d94bd1 commit 03228c7

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
### Documentation
1414

15+
* Document new attributes in `databricks_app` resource and data sources ([#5108](https://github.com/databricks/terraform-provider-databricks/pull/5108))
1516
* Document `git_email` in `databricks_git_credential` resource ([#5099](https://github.com/databricks/terraform-provider-databricks/pull/5099))
1617

1718
### Exporter

docs/data-sources/app.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ In addition to all arguments above, the following attributes are exported:
3737
* `app_status` attribute
3838
* `state` - State of the application.
3939
* `message` - Application status message
40+
* `compute_size` - (Optional) A string specifying compute size for the App.
4041
* `url` - The URL of the app once it is deployed.
4142
* `create_time` - The creation time of the app.
4243
* `creator` - The email of the user that created the app.
@@ -79,6 +80,10 @@ Exactly one of the following attributes will be provided:
7980
* `database_name` - The name of database.
8081
* `instance_name` - The name of database instance.
8182
* `permission` - Permission to grant on database. Supported permissions are: `CAN_CONNECT_AND_CREATE`.
83+
* `genie_space` attribute
84+
* `name` - The name of Genie Space.
85+
* ``permission` - Permission to grant on Genie Space. Supported permissions are `CAN_MANAGE`, `CAN_EDIT`, `CAN_RUN`, `CAN_VIEW`.
86+
* `space_id` - The unique ID of Genie Space.
8287

8388
## Related Resources
8489

docs/data-sources/apps.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The following attributes are exported:
2929
* `app_status` attribute
3030
* `state` - State of the application.
3131
* `message` - Application status message
32+
* `compute_size` - (Optional) A string specifying compute size for the App.
3233
* `url` - The URL of the app once it is deployed.
3334
* `create_time` - The creation time of the app.
3435
* `creator` - The email of the user that created the app.
@@ -71,6 +72,10 @@ Exactly one of the following attributes will be provided:
7172
* `database_name` - The name of database.
7273
* `instance_name` - The name of database instance.
7374
* `permission` - Permission to grant on database. Supported permissions are: `CAN_CONNECT_AND_CREATE`.
75+
* `genie_space` attribute
76+
* `name` - The name of Genie Space.
77+
* ``permission` - Permission to grant on Genie Space. Supported permissions are `CAN_MANAGE`, `CAN_EDIT`, `CAN_RUN`, `CAN_VIEW`.
78+
* `space_id` - The unique ID of Genie Space.
7479

7580
## Related Resources
7681

docs/resources/app.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The following arguments are required:
4747
* `budget_policy_id` - (Optional) The Budget Policy ID set for this resource.
4848
* `resources` - (Optional) A list of resources that the app have access to.
4949
* `user_api_scopes` - (Optional) A list of api scopes granted to the user access token.
50+
* `compute_size` - (Optional) A string specifying compute size for the App. Possible values are `MEDIUM`, `LARGE`, `LIQUID`.
5051

5152
### resources Configuration Attribute
5253

@@ -78,6 +79,10 @@ Exactly one of the following attributes must be provided:
7879
* `database_name` - The name of database.
7980
* `instance_name` - The name of database instance.
8081
* `permission` - Permission to grant on database. Supported permissions are: `CAN_CONNECT_AND_CREATE`.
82+
* `genie_space` attribute
83+
* `name` - The name of Genie Space.
84+
* ``permission` - Permission to grant on Genie Space. Supported permissions are `CAN_MANAGE`, `CAN_EDIT`, `CAN_RUN`, `CAN_VIEW`.
85+
* `space_id` - The unique ID of Genie Space.
8186

8287
## Attribute Reference
8388

0 commit comments

Comments
 (0)