Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultyng/terraform-provider-twitter
https://github.com/paultyng/terraform-provider-twitter
terraform terraform-provider twitter twitter-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paultyng/terraform-provider-twitter
- Owner: paultyng
- License: mpl-2.0
- Created: 2020-05-09T16:57:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T21:15:37.000Z (about 4 years ago)
- Last Synced: 2024-06-20T01:53:43.708Z (6 months ago)
- Topics: terraform, terraform-provider, twitter, twitter-api
- Language: Go
- Size: 99.6 KB
- Stars: 24
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[Published on the Terraform Registry](https://registry.terraform.io/providers/paultyng/twitter/latest)
# Terraform Provider Twitter
Maintain lists, blocks, and muted accounts in Terraform.
```terraform
resource "twitter_list" "hashicorp" {
name = "HashiCorp Employees"
mode = "public"description = "List of people publicly identifying as HashiCorp employees."
members = [
"ptyng",
]
}resource "twitter_block" "blocks" {
screen_name = "ptyng"
}
```## Rate Limiting
Twitters [rate limiting](https://developer.twitter.com/en/docs/basics/rate-limiting) for mutes and blocks is 15 requests per 15 minutes. In addition to just following the prescribed exponential backoff, the provider attempts to mitigate the chattiness of normal Terraform interactions by batching reads to list operations, you can maximize this by bumping up the `parallelism` flag. This is a bit experimental.