https://github.com/Backblaze/terraform-provider-b2
Terraform Provider for Backblaze B2 Cloud Storage
https://github.com/Backblaze/terraform-provider-b2
production
Last synced: 5 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T11:40:18.000Z (5 months ago)
- Last Synced: 2024-11-01T12:26:21.683Z (5 months ago)
- Topics: production
- Language: Go
- Homepage:
- Size: 436 KB
- Stars: 41
- Watchers: 10
- Forks: 11
- Open Issues: 5
-
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.0Development requirements:
- [Go](https://golang.org/doc/install) == 1.22
- [Python](https://github.com/pyenv/pyenv) == 3.12Dependencies
------------
*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 detailsRelease History
-----------------Please refer to the [changelog](CHANGELOG.md).