Skip to content

Commit

Permalink
feat: mention tcp in pulumi integration (checkly#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbezludny authored Feb 18, 2025
1 parent 3eba895 commit 32d108e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions site/content/docs/integrations/pulumi.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,27 @@ new checkly.Check('my-browser-check-pulumi', {
})
```

#### How to create your first TCP check

```javascript {title="tcp-check.js"}
new checkly.TcpCheck('my-tcp-check', {
name: 'Example TCP check',
activated: true,
shouldFail: false,
frequency: 1,
useGlobalAlertSettings: true,
locations: ['us-west-1'],
degradedResponseTime: 3000,
maxResponseTime: 5000,
tags: ['pulumi'],
request: {
hostname: 'api.checklyhq.com',
port: 80,
},
});
```
For detailed documentation on TCP checks, refer to the [Pulumi Checkly TCP Check API docs](https://www.pulumi.com/registry/packages/checkly/api-docs/tcpcheck/).

### Creating checks and applying changes

Your `index.js` file should now include instructions to create one API and one Browser check.
Expand Down

0 comments on commit 32d108e

Please sign in to comment.