+
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: infracost/infracost
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.37
Choose a base ref
...
head repository: infracost/infracost
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.38
Choose a head ref
  • 12 commits
  • 699 files changed
  • 4 contributors

Commits on Jun 6, 2024

  1. Configure references for the Azure Firewall Policy (#3101)

    Add forward and backward references for the Azure Firewall Policy to lookup the Firewall Policy Rule Collection Group. This is required for the FinopsPolicy so that it can check if there are application rules associated with the Firewall Policy
    Owen authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    fe2f1f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. fix: dependency_paths detection issues (#3102)

    Fixes two issues with the `dependency_paths` logic
    
    * Adds wildcard suffix to the generated `dependency_paths` for autodetect. This
    is done so that changes in nested files are detected on Infracost's hosted services.
    * Merges the tfvars into the `DependencyPaths` method, this resolves an issue where
    if no module calls were detected then only tfvars would be added to the `dependency_paths`
    config key. This would omit the project from the changes and therefore only tfvar changes
    would cause a rerun on hosted services. This also standardises things for those users
    who use a template, as now the tfvars are part of the `.DependencyPaths` project template
    variable.
    hugorut authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    ace8a7b View commit details
    Browse the repository at this point in the history
  2. feat: Add experimental --comment-path flag to comment command (#3103)

    This flag expects a file with markdown comment content to post it to the
    PR/commit. When this flag is provided the --path flag is not needed.
    vdmgolub authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    8db5372 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. fix: only marshal parser variables once for matchPaths (#3104)

    Resolves issue where the parser variables where being marshalled to a
    map for each `walkPath` call. This would cause an OOM for large repositories.
    hugorut authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    f8211d1 View commit details
    Browse the repository at this point in the history
  2. fix: Get the relative path based on the starting path for var files (#…

    …3105)
    
    Pattern matching doesn't work for the tfvar dependency paths when
    they're relative but works okay when they're relative to the starting
    path like module calls
    Owen authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    c70be28 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. chore: Update AWS EKS Cluster resource tests (#3109)

    v1.26 is on extended support since June 11th 2024.
    vdmgolub authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    375c120 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. refactor: add region field to resource data (#3107)

    * refactor: add `region` field to resource data
    
    Adds a `Region` property to the `schema.ResourceData` which is set when
    parsing the plan and set before evaluating each individual resource. This
    property is meant to replace the old `d.Get` approach which sets the region
    directly on the `RawValues` of the json.
    
    This new approach sets the `Region` after the references have been parsed and
    changes the `azure` region functionality to use the `getLocation` logic that was
    previously done on demand per resource.
    
    * refactor: add `GetRegion` func to `RegistryItem`
    
    Adds a resource specific `GetRegion` property to the `RegistryItem` which
    can be used to override the provider default functionality for fetching a
    region for a resource.
    
    Changes usage of `lookupRegion` functions in azure resources to use the new
    `ResourceData.Region` property which is computed before evaluation.
    
    Changes the `ResourceRegistryMap` to no longer use a `sync.Once` and instead be
    built as a singleton `var`. This removes the sync requirement as callers only read
    from this map.
    
    * fix: recursively set the reference region if they are not already set
    hugorut authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    b0ea65d View commit details
    Browse the repository at this point in the history
  2. enhance: Make --comment-path flag optional keeping --path required (#…

    …3108)
    
    * enhance: Make --comment-path flag optional keeping --path required
    
    Without infracost.json validAt timestamp is missing that can lead to
    posting stale comments if `infracost comment` is run simultaneously.
    
    * fixup! enhance: Make --comment-path flag optional keeping --path required
    vdmgolub authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    9392ec5 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. fix: fixup more resources to use GetRegion method (#3110)

    Adds support for more resources to use the `GetRegion` method, also changes
    the signature of the method so that it we fetch the default region first and
    pass this to the more specific resource function.
    hugorut authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    73600bd View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. fix: Take PITR enabled into account (#3113)

    Update the DynamoDB resource to read the `point_in_time_recovery` block
    to ensure that it is enabled so PITR costs aren't inadvertently added to
    the cost estimate.
    
    Add test to validate
    Owen authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    16a293b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99258a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. enhance: Update PR comment's cost change summary (#3099)

    * enhance: Update PR comment's cost change summary
    
    * feat: Rename Cost details to Estimate details in PR comment
    
    * feat: Remove 'View report' link from PR comment
    
    Keeping .Root.CloudURL as it's used for Bitbucket as it doesn't support
    collapsed sections.
    
    * feat: Do not show Usage cost values when usage costs are disabled
    
    * fixup! feat: Do not show Usage cost values when usage costs are disabled
    
    * fixup! fixup! feat: Do not show Usage cost values when usage costs are disabled
    
    * chore: Update tests
    
    * chore: Update AWS tests
    
    * chore: Update Azure tests
    
    * chore: Update Google tests
    
    * fixup! chore: Update tests
    
    * fixup! chore: Update AWS tests
    
    * fixup! chore: Update AWS tests
    
    * fixup! fixup! feat: Do not show Usage cost values when usage costs are disabled
    vdmgolub authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    e9ce629 View commit details
    Browse the repository at this point in the history
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载