Title
#general
Stevie

Stevie

11/03/2021, 2:31 PM
Hiho, is it possible to tell infracost GithubAction to only check paths which have changed in the pull_request event? We are using terragrunt folder structure, and my goal is to only run infracost for the terragrunt.hcl’s which have changed.
Tim (Infracost)

Tim (Infracost)

11/03/2021, 2:37 PM
Hi, not at the moment but this is definitely something we’ve heard from other terragrunt users. We’re currently working on improving integrations so you may see something this month.
Stevie

Stevie

11/03/2021, 2:39 PM
As a workround one probably need to dynamically create the config with the specific path parameters.
Tim (Infracost)

Tim (Infracost)

11/03/2021, 2:45 PM
Oh nice. We’re going to revise the action to make it more composable (along the lines of the hashicorp/setup-terraform@v1 action) so this would fit in nicely.