2 ms·
Nice, thanks! I was less interested in the code sample as a "how-to" and more for skimmability – rather than reading a bunch of words I just wanted to see what
by rattray 6y ago
Nice, thanks!
I was less interested in the code sample as a "how-to" and more for skimmability – rather than reading a bunch of words I just wanted to see what it would look like.
Eg, from that link:
terraform {
required_version = ">= 0.13"
required_providers {
b2 = {
source = "Backblaze/b2"
version = "~> 0.2"
}
}
}
provider "b2" {
}
resource "b2_application_key" "example" {
key_name = "test-b2-tfp-0000000000000000000"
capabilities = ["readFiles"]
}
data "b2_application_key" "example" {
key_name = b2_application_key.example.key_name
}
output "application_key" {
value = data.b2_application_key.example
}