:wave: Hello there beautiful people, gonna try my ...
# help
b
👋 Hello there beautiful people, gonna try my luck. I already searched around in the docs but cannot get any related information. How does infracost handles deleted infra? In this PR, the
terragrunt destroy
has been applied in local and the PR contains the deletion of the
terragrunt.hcl
and
.terraform.lock.hcl
for the related resources. The GitHub integration says there's nothing to do. I'm expecting for a resume with the cost reduction from deleting the resource.
l
Hi @better-kitchen-86100, is this using the GitHub App or a GitHub action?
Sorry @better-kitchen-86100 I should have noticed your name 🤦. If you send me the time and PR number for this change we can search through the logs and try and work out why this didn’t trigger.
b
Morning! 🌞 Thanks for the reply 🙏 Here are two PRs with infra removal that had the same infracost behavior (
This check concluded as skipped. A pull request comment was not posted because Infracost hasn't detected any Terraform changes.
) • infrastructure/pull/102 (open Jul 24 07:02 PM GMT+2) • infrastructure/pull/101 (open Jul 24 11:34 AM GMT+2) The screenshot posted was using the GitHub App. The screenshot belongs to the PR #102
l
Thanks @better-kitchen-86100, I’ve been looking into it and found a potential issue, so going to raise it with the team to see if we can get a fix in.
@better-kitchen-86100 we’ve pushed a fix. Are you able to open a test PR to remove a project to validate it works for you? While looking into this we also found an issue that meant you were seeing 2 duplicate repos in your Infracost Cloud dashboard with different casing. We’ve fixed that as well so it’s all consolidated into one repo.