Skip to content

paultyng/terraform-provider-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0c33cd1 · Nov 18, 2020

History

10 Commits
Sep 11, 2020
Nov 18, 2020
Sep 11, 2020
Nov 18, 2020
Nov 18, 2020
May 10, 2020
Sep 11, 2020
May 9, 2020
May 9, 2020
May 9, 2020
Sep 11, 2020
Nov 18, 2020
Nov 18, 2020
Nov 18, 2020

Repository files navigation

Published on the Terraform Registry

Terraform Provider Twitter

Maintain lists, blocks, and muted accounts in 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 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.