Skip to content

Backblaze/terraform-provider-b2

Repository files navigation

Terraform Provider B2

Continuous Integration

Terraform provider for Backblaze B2.

The provider is written in go, but it uses official B2 python SDK embedded into the binary.

Requirements

Dependencies

Note: You should run it inside python virtualenv as it installs the dependencies for the python bindings as well.

make deps

Building

make build

Installing

make install

Testing

Note: Acceptance tests create real resources, and often cost money to run.

export B2_TEST_APPLICATION_KEY=your_app_key
export B2_TEST_APPLICATION_KEY_ID=your_app_key_id
make testacc

Debugging

Set TF_LOG_PROVIDER and TF_LOG_PATH env variables to see detailed information from the provider. Check https://www.terraform.io/docs/internals/debugging.html for details

Release History

Please refer to the changelog.