• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

coveooss / terragrunt / 701 / 1
59%
master: 60%

Build:
Build:
LAST BUILD BRANCH: v1.4.0
DEFAULT BRANCH: master
Ran 09 Oct 2019 09:07PM UTC
Files 53
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Oct 2019 09:02PM UTC coverage: 59.479% (+0.7%) from 58.763%
GO111MODULE=on

Pull #87

travis-ci

web-flow
Properly handle multiple blocks with same name in a single file

If we declare a block with the same name, the normal behavior is to overwrite the previous definition with the latest one. That works if blocks are defined in separated files. But it did not work properly when blocks were declared in the same file.

I fixed this in the generic merge function, but that only worked if multiple blocks were declared in an included file but not for the main configuration file. So, I forced the main file to also go through the merge process (starting with an empty structure).

I also discovered a test `no-tf-variable` that was working even if it used the same block many times in the configuration. Fixing this problem caused that specific test to fail.

To ensure that we don't break existing configuration without being noticed, I added a warning when a block is overridden by another block with the same name in a file.
Pull Request #87: Properly handle multiple blocks with same name in a single file

3586 of 6029 relevant lines covered (59.48%)

80.49 hits per line

Source Files on job 701.1 (GO111MODULE=on)
  • Tree
  • List 0
  • Changed 36
  • Source Changed 11
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 58
  • Travis Job 701.1
  • 302e384d on github
  • Prev Job for GO111MODULE=on on block-redefined-in-same-file-should-override (#699.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc