Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: types for integrations #127

Open
jmhodges-color opened this issue Feb 2, 2023 · 1 comment
Open

feature request: types for integrations #127

jmhodges-color opened this issue Feb 2, 2023 · 1 comment

Comments

@jmhodges-color
Copy link

jmhodges-color commented Feb 2, 2023

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)

@ldhenry
Copy link
Collaborator

ldhenry commented Feb 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants