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

Add fields to site integrations #231

Merged

Conversation

jeremy-cxf
Copy link
Contributor

@jeremy-cxf jeremy-cxf commented Aug 15, 2024

Currently, you cannot add datadog integrations via the integrations resource.

This adds the fields parameters required (fields) to be expressed as it is in main.tf

resource "sigsci_site_integration" "test_integration_datadog" {
  site_short_name = sigsci_site.my-site.short_name
  type            = "datadog"
  url             = ""
  events          = ["flag", "agentAlert"]

  fields{
      name  = "site"
      value = "us1"
  }

  fields{
      name  = "apiKey"
      value = "your_api_key"
  }
}

This is reliant on updating go-sigsci: https://github.com/signalsciences/go-sigsci/pull/65/files so pipeline builds will fail.

I would much rather get testing setup for these though, but it appears slightly broken? Will raise in the appropriate channels.

@daniel-corbett daniel-corbett merged commit 57f1c0f into signalsciences:main Aug 21, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants