Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

at-wat/terraform-provider-aws-v4.67-memory-usage

Repository files navigation

terraform-provider-aws v4.67 memory usage issue

Background

Memory consumption of terraform-provider-aws has increased by >30% since v4.67.0. It significantly increases memory usage, especially when using multiple provider configurations.

Reproduction

Run

make init
make measure

to measure max RSS when refreshing aws_iam_policy_document data resources on 17 regions.

Results (n=10)

provider version 4.66.1 4.67.0 5.0.1 5.1.0 5.7.0 5.16.2 5.20.0
terraform version 1.4.5 1.4.5 1.4.5 1.4.5 1.4.5 1.6.0-beta1 1.6.0
Max RSS (average) 558M 729M 738M 1102M 1101M 1027M 194M
RSS increase - +31% +32% +97% +97% +84% -65%
on linux_amd64

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published