Skip to content

Commit

Permalink
Fix a couple broken links (#13958)
Browse files Browse the repository at this point in the history
  • Loading branch information
thoward authored Feb 5, 2025
1 parent 3beaecf commit 05a40df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Finally we assemble the policies into a policy pack object, giving it the name `
{{% notes type="tip" %}}
**Writing Testable Code**: We've structured this code to be a little bit more readable than the template example, and also more testable. Instead of defining everything in one big nested object, we break each policy out into its own definition and then assemble the policy pack at the end. We use the `export` keyword to make these policies available to the testing framework (although not technically necessary for the policy pack itself).

Have a look at the [`tests`](https://github.com/pulumi/docs/blob/master/static/programs/custom-policy-pack-typescript/tests/) directory in the [full version of this example](https://github.com/pulumi/docs/blob/master/static/programs/custom-policy-pack-typescript/) to see how you can write unit tests for each policy.
Have a look at the [`test`](https://github.com/pulumi/docs/blob/master/static/programs/custom-policy-pack-typescript/test/) directory in the [full version of this example](https://github.com/pulumi/docs/blob/master/static/programs/custom-policy-pack-typescript/) to see how you can write unit tests for each policy.

{{% /notes %}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Congratulations! You've successfully created and tested a policy pack with Pulum
To learn more about using Pulumi CrossGuard and policies, explore the following:

- [Pulumi Crossguard: Policy as Code Documentation](https://www.pulumi.com/docs/guides/crossguard/)
- [Advanced Policy Examples](https://github.com/pulumi/examples/tree/master/policy)
- [Advanced Policy Examples](https://github.com/pulumi/examples/tree/master/policy-packs)

If you are using *Pulumi Business Critical* edition, you can also publish this policy to your Pulumi Cloud organization, which enables server-side policy enforcement on all Pulumi projects in your organization. See [pricing](/pricing/) for more details.

Expand Down

0 comments on commit 05a40df

Please sign in to comment.