broad-zoo-34077
06/30/2023, 2:39 PMbusy-agent-35515
06/30/2023, 2:50 PMbusy-agent-35515
06/30/2023, 2:51 PMmelodic-ocean-16661
06/30/2023, 3:57 PMas per following config file https://www.infracost.io/docs/features/config_file/
melodic-ocean-16661
06/30/2023, 3:57 PMcrooked-daybreak-55253
06/30/2023, 4:05 PMmelodic-ocean-16661
06/30/2023, 4:12 PMcrooked-daybreak-55253
06/30/2023, 4:22 PMcrooked-daybreak-55253
06/30/2023, 4:44 PMinfracost diff
with the same path that was used to create the baseline with infracost breakdown
. There is no difference because they are the same code. If you look at this example you can see the flow is:
...
- check out base branch
- run infracost breakdown to generate baseline
- check out pr branch
- run infracost diff to compare PR branch to baseline
crooked-daybreak-55253
06/30/2023, 4:54 PMterraform init, etc…
.
If you really do need a matrix build, you need to have the matrix step save the output of each infracost diff
, then have another job that combines the outputs and creates a single comment with infracost comment
. You can see an example that uses terraform plan files here,melodic-ocean-16661
06/30/2023, 4:59 PMmelodic-ocean-16661
06/30/2023, 5:00 PM