https://registry.terraform.io/providers/sodle/bsky/latest/docs
Specify your PDS host url, handle, and either the password for the handle or an app password for added security.
provider "bsky" {
pds_host = "https://bsky.social" // or set via the BSKY_PDS_HOST env var
handle = "scoott.blog" // or set via the BSKY_HANDLE env var
password = "<password>" // or set via the BSKY_PASSWORD env var
// PDS admin password only needed for bsky_account creation
pds_admin_password = "<admin password> // or set via the BSKY_ADMIN_PASSWORD env var
}
Install go and golangci-lint v2:
> choco install golang
> curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6
Run the make file:
> make
The make file will run the acceptance tests, they require the following environment variable pointing to a testing PDS:
> BSKY_PDS_HOST=https://scoott.blog
> BSKY_HANDLE=root
> BSKY_PASSWORD=*******
> BSKY_ADMIN_PASSWORD=********
> make