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

Update to latest @pulumi/policy #103

Merged
merged 5 commits into from
Mar 28, 2024
Merged

Update to latest @pulumi/policy #103

merged 5 commits into from
Mar 28, 2024

Commits on Jan 29, 2024

  1. Fix compile errors

    The `@pulumi/policy` library was updated to support remediations, but this repo hasn't been updated since then. This commit fixes some compile errors due to the changes there.
    
    Note: This points out that we're missing a daily cron in this repro to catch these things sooner.
    justinvp committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    ec60c93 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    ef64328 View commit details
    Browse the repository at this point in the history
  2. Update generated package.json for tests

    This allows `yarn run tsc` for the generated test policy pack to succeed (to ensure it compiles). Otherwise, we get compiler errors like:
    
    ```
    node_modules/@types/node/ts4.8/test.d.ts:881:34 - error TS1005: '?' expected.
    ```
    
    due to `@types/node` using more recent TypeScript language features than TS 3.8.3.
    
    We shouldn't be relying on the version of TypeScript from `@pulumi/pulumi` anyway. If we're using `tsc`, we should declare our own dev dependency on it.
    justinvp committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    94a3ac9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    854d6b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Update getAmi call

    Otherwise we get an error:
    
    ```
    * Your query returned no results. Please change your search criteria and try again.
    ```
    justinvp committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    2e34e5b View commit details
    Browse the repository at this point in the history