Skip to content

Commit

Permalink
slack regex update and typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brookesargent committed Oct 8, 2024
1 parent 687158b commit e583faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ HONEYCOMB_API_KEY=<your API key> HONEYCOMB_DATASET=<dataset> ./scripts/setup-tes
```

Finally, **run the full testsuite**!
There is a `.env` file checked into the root of the repostiory which can be used to store the relevant environment variables required for the tests:
There is a `.env` file checked into the root of the repository which can be used to store the relevant environment variables required for the tests:

- `HONEYCOMB_API_KEY`: a Configuration Key for a Honeycomb Team
- `HONEYCOMB_DATASET`: name of the test dataset to run tests against
Expand All @@ -71,7 +71,7 @@ HONEYCOMB_API_KEY=<CONFIGURATION KEY> HONEYCOMB_KEY_ID=<MGMT KEY ID> HONEYCOMB_K
It can be handy to run terraform with a local version of the provider during development.

The best way to do this is with a [Development Override](https://developer.hashicorp.com/terraform/cli/config/config-file#development-overrides-for-provider-developers).
There is already a `.terraformrc.local` file checked into the root of the repostiory which may be a helpful starting point.
There is already a `.terraformrc.local` file checked into the root of the repository which may be a helpful starting point.

### Enabling log output

Expand Down
2 changes: 1 addition & 1 deletion honeycombio/resource_slack_recipient.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
honeycombio "github.com/honeycombio/terraform-provider-honeycombio/client"
)

var channelRegex = regexp.MustCompile(`^#.*|^@.*|^(C|D|G)[A-Z0-9]{6,}$`)
var channelRegex = regexp.MustCompile(`^#.*|^@.*|^(C|D|G|U)[A-Z0-9]{6,}$`)

func newSlackRecipient() *schema.Resource {
return &schema.Resource{
Expand Down

0 comments on commit e583faa

Please sign in to comment.