Home

Awesome

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

Runtime requirements:

Development 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

Documentation

The documentation is generated from the provider source code using tfplugindocs. You will need to regenerate the documentation if you add or change a data source, resource or argument.

make docs

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.