-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3966d5
commit c3ef017
Showing
8 changed files
with
89 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# Infracost Config File | ||
# https://www.infracost.io/docs/features/config_file | ||
|
||
version: 0.1 | ||
# Infracost Configuration | ||
# https://www.infracost.io/docs/config_file | ||
|
||
# This file is manged by the infracost.yml.tmpl file, do not edit infracost.yml directly. | ||
|
||
version: 0.1 | ||
projects: | ||
- name: "terraform-google-storage-bucket - Default Bucket" | ||
path: test/fixtures/default_bucket | ||
usage_file: test/fixtures/default_bucket/infracost-usage.yml | ||
- path: test/fixtures/default_bucket | ||
name: "default_bucket" | ||
usage_file: test/fixtures/default_bucket/infracost-usage.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{/* Infracost Template: https://www.infracost.io/docs/features/config_file/#template-syntax */}} | ||
# Infracost Configuration | ||
# https://www.infracost.io/docs/config_file | ||
|
||
# This file is manged by the infracost.yml.tmpl file, do not edit infracost.yml directly. | ||
|
||
version: 0.1 | ||
projects: | ||
|
||
{{- range $project := matchPaths "test/fixtures/:name" }} | ||
{{- if ne $project.name "shared"}} | ||
- path: {{ print $project._dir "/" $project.name }} | ||
name: "{{ $project.name }}" | ||
usage_file: {{ print $project._dir "/" $project.name "/infracost-usage.yml" }} | ||
{{- end }} | ||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Terraform Local Values | ||
# https://www.terraform.io/docs/language/values/locals.html | ||
|
||
locals { | ||
labels = merge( | ||
{ | ||
cost-center = var.cost_center | ||
}, | ||
var.labels | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters