https://github.com/Backblaze/terraform-provider-b2
Terraform Provider for Backblaze B2 Cloud Storage
https://github.com/Backblaze/terraform-provider-b2
production
Last synced: 6 months ago
JSON representation
Terraform Provider for Backblaze B2 Cloud Storage
- Host: GitHub
- URL: https://github.com/Backblaze/terraform-provider-b2
- Owner: Backblaze
- License: other
- Created: 2020-11-09T17:00:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-30T15:17:08.000Z (6 months ago)
- Last Synced: 2025-04-30T16:28:14.475Z (6 months ago)
- Topics: production
- Language: Go
- Homepage:
- Size: 517 KB
- Stars: 46
- Watchers: 15
- Forks: 12
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - Backblaze/terraform-provider-b2 - Terraform Provider for Backblaze B2 Cloud Storage (Go)
README
Terraform Provider B2
=====================
[](https://github.com/Backblaze/terraform-provider-b2/actions?query=workflow%3A%22Continuous+Integration%22)
Terraform provider for Backblaze B2.
The provider is written in go, but it uses official [B2 python SDK](https://github.com/Backblaze/b2-sdk-python/) embedded into the binary.
Requirements
------------
Runtime requirements:
- [Terraform](https://www.terraform.io/downloads.html) >= 1.0.0
Development requirements:
- [Go](https://golang.org/doc/install) == 1.24
- [Python](https://github.com/pyenv/pyenv) == 3.13
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`](https://github.com/hashicorp/terraform-plugin-docs). 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](CHANGELOG.md).