Open jmhodges-color opened 1 year ago
Hey @jmhodges-color,
Have you tried using the launchdarkly_audit_log_subscription
resource to provision the integration configuration in terraform? The following can be used to configure the Honeycomb integration:
resource "launchdarkly_audit_log_subscription" "honeycomb_example_test" {
integration_key = "honeycomb"
name = "Terraform Example"
config = {
api_key = "<HONEYCOMB_API_KEY>"
dataset_name = "test"
}
on = false
tags = [
"integrations"
]
statements {
actions = ["*"]
effect = "allow"
resources = ["proj/*:env/production"]
}
}
I'm new to Honeycomb Environments and Services so please let me know if this is not what you are asking.
Thanks, Henry
It'd be nice to be able to automate the creation of integrations (esp, for us, the Honeycomb ones) in terraform using this provider.
The Honeycomb ones would be nice because with the advent of Honeycomb Environments and Services abstraction, we now we have to a Honeycomb integration to LaunchDarkly for each service instead of each environment (using LD's web form that has a required
dataset
)