index.md (1264B)
1 --- 2 # generated by https://github.com/hashicorp/terraform-plugin-docs 3 page_title: "matrix-terraform-provider Provider" 4 subcategory: "" 5 description: |- 6 7 --- 8 9 # matrix-terraform-provider Provider 10 11 12 13 ## Example Usage 14 15 ```terraform 16 provider "matrix" { 17 # The client/server URL to access your matrix homeserver with. 18 # Environment variable: MATRIX_CLIENT_SERVER_URL 19 client_server_url = "https://matrix.org" 20 21 # The default access token to use for things like content uploads. 22 # Does not apply for provisioning users. 23 # Environment variable: MATRIX_DEFAULT_ACCESS_TOKEN 24 default_access_token = "MDAxSomeRandomString" 25 26 # The default userID to use for things like content uploads. 27 # Must match the user that owns the default_access_token. 28 # Does not apply for provisioning users. 29 # Environment variable: MATRIX_DEFAULT_USERID 30 default_user_id = "@meow:matrix.org" 31 } 32 ``` 33 34 <!-- schema generated by tfplugindocs --> 35 ## Schema 36 37 ### Required 38 39 - `client_server_url` (String) Address of the matrix server you are acting upon 40 - `default_access_token` (String, Sensitive) The default access token to use for things like content uploads. 41 - `default_user_id` (String) The default user id to use for things like content uploads. This must match the access_token