generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
522 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/[email protected] | ||
- | ||
name: Unshallow | ||
run: git fetch --prune --unshallow | ||
- | ||
name: Set up Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: '1.15' | ||
- | ||
name: Import GPG key | ||
id: import_gpg | ||
uses: paultyng/[email protected] | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
PASSPHRASE: ${{ secrets.PASSPHRASE }} | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
page_title: "twitter Provider" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# twitter Provider | ||
|
||
|
||
|
||
|
||
|
||
## Schema | ||
|
||
### Optional | ||
|
||
- **access_token** (String, Optional) | ||
- **access_token_secret** (String, Optional) | ||
- **consumer_api_key** (String, Optional) | ||
- **consumer_api_secret** (String, Optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
page_title: "twitter_block Resource - terraform-provider-twitter" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# Resource `twitter_block` | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "twitter_block" "blocks" { | ||
screen_name = "ptyng" | ||
} | ||
``` | ||
|
||
## Schema | ||
|
||
### Required | ||
|
||
- **screen_name** (String, Required) The screen name of the potentially blocked user. | ||
|
||
### Optional | ||
|
||
- **id** (String, Optional) The ID of this resource. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
page_title: "twitter_list Resource - terraform-provider-twitter" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# Resource `twitter_list` | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "twitter_list" "hashicorp" { | ||
name = "HashiCorp Employees" | ||
mode = "public" | ||
description = "List of people publicly identifying as HashiCorp employees." | ||
members = [ | ||
"ptyng", | ||
] | ||
} | ||
``` | ||
|
||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String, Required) The name for the list. A list's name must start with a letter and can consist only of 25 or fewer letters, numbers, "-", or "_" characters. | ||
|
||
### Optional | ||
|
||
- **description** (String, Optional) The description to give the list. | ||
- **id** (String, Optional) The ID of this resource. | ||
- **members** (Set of String, Optional) The screen names of the user for whom to return results. | ||
- **mode** (String, Optional) Whether your list is public or private. Values can be `public` or `private`. | ||
|
||
### Read-only | ||
|
||
- **slug** (String, Read-only) | ||
- **uri** (String, Read-only) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
page_title: "twitter_mute Resource - terraform-provider-twitter" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# Resource `twitter_mute` | ||
|
||
|
||
|
||
|
||
|
||
## Schema | ||
|
||
### Required | ||
|
||
- **screen_name** (String, Required) The screen name of the potentially muteed user. | ||
|
||
### Optional | ||
|
||
- **id** (String, Optional) The ID of this resource. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resource "twitter_block" "blocks" { | ||
screen_name = "ptyng" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
resource "twitter_list" "hashicorp" { | ||
name = "HashiCorp Employees" | ||
mode = "public" | ||
|
||
description = "List of people publicly identifying as HashiCorp employees." | ||
|
||
members = [ | ||
"ptyng", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.