You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to submit a suggestion regarding how to handle the Network egress section from the google_storage_bucket ressource: being able to set it to zero.
Name Monthly Qty Unit Monthly Cost
google_storage_bucket.this
├─ Storage (standard) 1.5 GiB $0.03
├─ Object adds, bucket/object list (class A) 0.25 10k operations $0.01
├─ Object gets, retrieve bucket/object metadata (class B) 0.4 10k operations $0.00
└─ Network egress
├─ Data transfer to worldwide excluding Asia, Australia (first 1TB) Monthly cost depends on usage: $0.12 per GB
├─ Data transfer to Asia excluding China, but including Hong Kong (first 1TB) Monthly cost depends on usage: $0.12 per GB
├─ Data transfer to China excluding Hong Kong (first 1TB) Monthly cost depends on usage: $0.23 per GB
└─ Data transfer to Australia (first 1TB) Monthly cost depends on usage: $0.19 per GB
We note that Data transfer in same continent item is missing, this behaviour seems to occur to the first item set to 0 in Network egress section of the infracost-usage.yml file.
Suggestion
Since I specified there is no network egress in my usage file, I suggest the output looks as followed:
Name Monthly Qty Unit Monthly Cost
google_storage_bucket.this
├─ Storage (standard) 1.5 GiB $0.03
├─ Object adds, bucket/object list (class A) 0.25 10k operations $0.01
├─ Object gets, retrieve bucket/object metadata (class B) 0.4 10k operations $0.00
└─ Network egress
├─ Data transfer in same continent 0.0000 GiB $0.00
├─ Data transfer to worldwide excluding Asia, Australia (first 1TB) 0.0000 GiB $0.00
├─ Data transfer to Asia excluding China, but including Hong Kong (first 1TB) 0.0000 GiB $0.00
├─ Data transfer to China excluding Hong Kong (first 1TB) 0.0000 GiB $0.00
└─ Data transfer to Australia (first 1TB) 0.0000 GiB $0.00
or as followed:
Name Monthly Qty Unit Monthly Cost
google_storage_bucket.this
├─ Storage (standard) 1.5 GiB $0.03
├─ Object adds, bucket/object list (class A) 0.25 10k operations $0.01
└─ Object gets, retrieve bucket/object metadata (class B) 0.4 10k operations $0.00
The text was updated successfully, but these errors were encountered:
Hi team,
I would like to submit a suggestion regarding how to handle the Network egress section from the
google_storage_bucket
ressource: being able to set it to zero.Currently
Given
This
main.tf
file:This
variables.tf
file:This
terraform.tfvars
file:This
infracost-usage.yml
file:When
I call infracost:
Then
I get the following estimate:
We note that
Data transfer in same continent
item is missing, this behaviour seems to occur to the first item set to 0 in Network egress section of theinfracost-usage.yml
file.Suggestion
Since I specified there is no network egress in my usage file, I suggest the output looks as followed:
or as followed:
The text was updated successfully, but these errors were encountered: