File tree Expand file tree Collapse file tree 11 files changed +35
-8
lines changed
.github/actions/run-terraform-sec
cosmosdb-cassandra-keyspace
cosmosdb-gremlin-database Expand file tree Collapse file tree 11 files changed +35
-8
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) Microsoft Corporation. All rights reserved.
2- # Licensed under the MIT License.
3-
41name : Run tfsec
52description : --
63
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_cassandra_keyspace" "adl_cosmos_cassandra" {
44 name = var. basename
55 resource_group_name = var. rg_name
66 account_name = var. cosmosdb_account_name
7- throughput = 400
7+ throughput = var . throughput
88}
99
1010resource "azurerm_private_endpoint" "cassandra_pe" {
Original file line number Diff line number Diff line change @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
4343variable "cosmosdb_account_id" {
4444 type = string
4545 description = " The Cosmos DB account id"
46+ }
47+
48+ variable "throughput" {
49+ type = number
50+ description = " The throughput of Cassandra KeySpace (RU/s)"
51+ default = 400
4652}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_gremlin_database" "adl_cosmos_gremlin" {
44 name = var. basename
55 resource_group_name = var. rg_name
66 account_name = var. cosmosdb_account_name
7- throughput = 400
7+ throughput = var . throughput
88}
99
1010resource "azurerm_private_endpoint" "gremlin_pe" {
Original file line number Diff line number Diff line change @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
4343variable "cosmosdb_account_id" {
4444 type = string
4545 description = " The Cosmos DB account id"
46+ }
47+
48+ variable "throughput" {
49+ type = number
50+ description = " The throughput of Cassandra KeySpace (RU/s)"
51+ default = 400
4652}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_mongo_database" "adl_cosmos_mongo" {
44 name = var. basename
55 resource_group_name = var. rg_name
66 account_name = var. cosmosdb_account_name
7- throughput = 400
7+ throughput = var . throughput
88}
99
1010resource "azurerm_private_endpoint" "mongo_pe" {
Original file line number Diff line number Diff line change @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
4343variable "cosmosdb_account_id" {
4444 type = string
4545 description = " The Cosmos DB account id"
46+ }
47+
48+ variable "throughput" {
49+ type = number
50+ description = " The throughput of Cassandra KeySpace (RU/s)"
51+ default = 400
4652}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_sql_database" "adl_cosmos_sql" {
44 name = var. basename
55 resource_group_name = var. rg_name
66 account_name = var. cosmosdb_account_name
7- throughput = 400
7+ throughput = var . throughput
88}
99
1010resource "azurerm_private_endpoint" "sql_pe" {
Original file line number Diff line number Diff line change @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
4343variable "cosmosdb_account_id" {
4444 type = string
4545 description = " The Cosmos DB account id"
46+ }
47+
48+ variable "throughput" {
49+ type = number
50+ description = " The throughput of Cassandra KeySpace (RU/s)"
51+ default = 400
4652}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_table" "adl_cosmos_table" {
44 name = var. basename
55 resource_group_name = var. rg_name
66 account_name = var. cosmosdb_account_name
7- throughput = 400
7+ throughput = var . throughput
88}
99
1010resource "azurerm_private_endpoint" "table_pe" {
You can’t perform that action at this time.
0 commit comments