for those who juggle multiple orgs, this can validate that you connect using the right one by setting organization_id in the provider, e.g.
provider "rockset" {
organization_id = "foobar"
}
and then during terraform plan you get a failure if it doesn't match with the API key used:
│ Error: the organization configured in the provider `foobar` does not match the organization of the api key: `rockset`
│
│ with provider["registry.terraform.io/rockset/rockset"],
│ on main.tf line 10, in provider "rockset":
│ 10: provider "rockset" {
for those who juggle multiple orgs, this can validate that you connect using the right one by setting
organization_id
in the provider, e.g.and then during
terraform plan
you get a failure if it doesn't match with the API key used: