forked from infracost/infracost
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for elasticsearch (#179)
* Add support for elasticsearch * Fix errors, separate usage variables * update infracost usage example * fix database core variable * Update variable to begin with a capital * Removed plan for ES and updated variable names to be consistent * Remove commented code * Refactor files, added test for platinum plan for elasticsearch --------- Co-authored-by: Eugene Koo <[email protected]> Co-authored-by: Hilton Lem <[email protected]>
- Loading branch information
1 parent
08fb3b2
commit 8183720
Showing
7 changed files
with
293 additions
and
38 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
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
24 changes: 19 additions & 5 deletions
24
internal/providers/terraform/ibm/testdata/database_test/database_test.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 |
---|---|---|
@@ -1,9 +1,23 @@ | ||
version: 0.1 | ||
resource_usage: | ||
ibm_database.test_db1: | ||
database_ram_mb: 12288 | ||
database_disk_mb: 131072 | ||
database_core: 3 | ||
postgresql_database_ram_mb: 12288 | ||
postgresql_database_disk_mb: 131072 | ||
postgresql_database_core: 3 | ||
ibm_database.test_db2: | ||
database_ram_mb: 15360 | ||
database_members: 4 | ||
postgresql_database_ram_mb: 15360 | ||
postgresql_database_members: 4 | ||
ibm_database.test_es_enterprise_db1: | ||
elasticsearch_database_ram_mb: 12288 | ||
elasticsearch_database_disk_mb: 131072 | ||
elasticsearch_database_core: 3 | ||
ibm_database.test_es_enterprise_db2: | ||
elasticsearch_database_ram_mb: 15360 | ||
elasticsearch_database_members: 4 | ||
ibm_database.test_es_platinum_db1: | ||
elasticsearch_database_ram_mb: 12288 | ||
elasticsearch_database_disk_mb: 131072 | ||
elasticsearch_database_core: 3 | ||
ibm_database.test_es_platinum_db2: | ||
elasticsearch_database_ram_mb: 1024 | ||
elasticsearch_database_members: 4 |
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
Oops, something went wrong.