The Terraform Registry listing is not published yet. Build locally and use a
dev_overrides block until the provider is published.Install
Terraform CLI 1.0 or newer.~/.terraformrc:
Authenticate
Prefer environment variables:bearer_auth on the provider. Write resources also need a Twitter cookie or auth_token.
Never commit credentials or Terraform state.
Read a profile
Follow an account
Post a tweet
tweet_content replaces the resource. Destroy deletes the tweet.
Like, retweet, or bookmark
Send a DM
Search and pagination
For tweet search, follower exports, and other paginated reads, use the Go SDK, TypeScript SDK, or CLI instead of Terraform.References
- SDKs overview
- Go SDK (underlying client)
- Authentication
- Source Repository