Skip to content

Alternative ways to speed up "collie foundation docs" #273

@JohannesRudolph

Description

@JohannesRudolph

After the unsucessful attempt of enabling fast output collection via parallel terraform invocations (see #271) I've been looking into alternative ways of speeding up the workflow with terragrunt.

Here are some avenues I've tried:

  • Terragrunt has some fundamental performance optimization potential for complex multi-module configurations, see Cache terraform configurations used to fetch dependency outputs gruntwork-io/terragrunt#2202
  • I tried looking into caching outputs, however finding a good cache key is non trivial. I looked into abusing .terragrunt-source-version but it seems that any change to one platform module also changes hashes for other modules (verify using ,find . -type f -name ".terragrunt-source-version" -exec sh -c 'echo {}; cat {};echo ""' \;). so this would provide little use in practice

Metadata

Metadata

Assignees

Labels

ideaA product idea for the Collie CLI project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions