Skip to content

Commit

Permalink
minor clean
Browse files Browse the repository at this point in the history
  • Loading branch information
murggu committed Nov 11, 2022
1 parent 0f1f0ef commit be23936
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/actions/run-terraform-sec/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

name: Run tfsec
description: --

Expand Down
2 changes: 1 addition & 1 deletion terraform/cosmosdb/cosmosdb-cassandra-keyspace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_cassandra_keyspace" "adl_cosmos_cassandra" {
name = var.basename
resource_group_name = var.rg_name
account_name = var.cosmosdb_account_name
throughput = 400
throughput = var.throughput
}

resource "azurerm_private_endpoint" "cassandra_pe" {
Expand Down
6 changes: 6 additions & 0 deletions terraform/cosmosdb/cosmosdb-cassandra-keyspace/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
variable "cosmosdb_account_id" {
type = string
description = "The Cosmos DB account id"
}

variable "throughput" {
type = number
description = "The throughput of Cassandra KeySpace (RU/s)"
default = 400
}
2 changes: 1 addition & 1 deletion terraform/cosmosdb/cosmosdb-gremlin-database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_gremlin_database" "adl_cosmos_gremlin" {
name = var.basename
resource_group_name = var.rg_name
account_name = var.cosmosdb_account_name
throughput = 400
throughput = var.throughput
}

resource "azurerm_private_endpoint" "gremlin_pe" {
Expand Down
6 changes: 6 additions & 0 deletions terraform/cosmosdb/cosmosdb-gremlin-database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
variable "cosmosdb_account_id" {
type = string
description = "The Cosmos DB account id"
}

variable "throughput" {
type = number
description = "The throughput of Cassandra KeySpace (RU/s)"
default = 400
}
2 changes: 1 addition & 1 deletion terraform/cosmosdb/cosmosdb-mongo-database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_mongo_database" "adl_cosmos_mongo" {
name = var.basename
resource_group_name = var.rg_name
account_name = var.cosmosdb_account_name
throughput = 400
throughput = var.throughput
}

resource "azurerm_private_endpoint" "mongo_pe" {
Expand Down
6 changes: 6 additions & 0 deletions terraform/cosmosdb/cosmosdb-mongo-database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
variable "cosmosdb_account_id" {
type = string
description = "The Cosmos DB account id"
}

variable "throughput" {
type = number
description = "The throughput of Cassandra KeySpace (RU/s)"
default = 400
}
2 changes: 1 addition & 1 deletion terraform/cosmosdb/cosmosdb-sql-database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_sql_database" "adl_cosmos_sql" {
name = var.basename
resource_group_name = var.rg_name
account_name = var.cosmosdb_account_name
throughput = 400
throughput = var.throughput
}

resource "azurerm_private_endpoint" "sql_pe" {
Expand Down
6 changes: 6 additions & 0 deletions terraform/cosmosdb/cosmosdb-sql-database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
variable "cosmosdb_account_id" {
type = string
description = "The Cosmos DB account id"
}

variable "throughput" {
type = number
description = "The throughput of Cassandra KeySpace (RU/s)"
default = 400
}
2 changes: 1 addition & 1 deletion terraform/cosmosdb/cosmosdb-table/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "azurerm_cosmosdb_table" "adl_cosmos_table" {
name = var.basename
resource_group_name = var.rg_name
account_name = var.cosmosdb_account_name
throughput = 400
throughput = var.throughput
}

resource "azurerm_private_endpoint" "table_pe" {
Expand Down
6 changes: 6 additions & 0 deletions terraform/cosmosdb/cosmosdb-table/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ variable "cosmosdb_account_name" {
variable "cosmosdb_account_id" {
type = string
description = "The Cosmos DB account id"
}

variable "throughput" {
type = number
description = "The throughput of Cassandra KeySpace (RU/s)"
default = 400
}

0 comments on commit be23936

Please sign in to comment.