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
Copy file name to clipboardExpand all lines: docs/index.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: |-
6
6
7
7
---
8
8
9
-
# mastodon Provider
9
+
# Mastodon Provider
10
10
11
11
12
12
@@ -16,16 +16,20 @@ description: |-
16
16
provider "mastodon" {
17
17
host = "https://mastodon.social"
18
18
}
19
+
20
+
resource "mastodon_post" "example" {
21
+
content = "I'm posting to the Fediverse from Terraform!"
22
+
}
19
23
```
20
24
21
25
<!-- schema generated by tfplugindocs -->
22
26
## Schema
23
27
24
28
### Optional
25
29
26
-
-`access_token` (String, Sensitive) Password to use for connecting to the server.
27
-
-`client_id` (String) Client ID for Mastodon App.
28
-
-`client_secret` (String, Sensitive) Client Secret for Mastodon App.
29
-
-`email` (String) Username to connect to the server as.
30
-
-`host` (String) Mastodon host to connect to.
31
-
-`password` (String, Sensitive) Password to use for connecting to the server.
30
+
-`access_token` (String, Sensitive) Password to use for connecting to the server. Can be designated by the `MASTODON_ACCESS_TOKEN` environment variable.
31
+
-`client_id` (String) Client ID for Mastodon App. Can be designated by the `MASTODON_CLIENT_ID` environment variable.
32
+
-`client_secret` (String, Sensitive) Client Secret for Mastodon App. Can be designated by the `MASTODON_CLIENT_SECRET` environment variable.
33
+
-`email` (String) Username to connect to the server as. Can be designated by the `MASTODON_USER_EMAIL` environment variable.
34
+
-`host` (String) Mastodon host to connect to. Can be designated by the `MASTODON_HOST` environment variable.
35
+
-`password` (String, Sensitive) Password to use for connecting to the server. Can be designated by the `MASTODON_USER_PASSWORD` environment variable.
0 commit comments