File tree 23 files changed +104
-37
lines changed
azure-mssql-failover/provision
azure-mssql-server/provision
azure-resource-group/provision
23 files changed +104
-37
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ provision:
63
63
default : false
64
64
template_refs :
65
65
versions : terraform/azure-mssql-db-failover/run-failover/run-failover-versions.tf
66
+ variables : terraform/azure-mssql-db-failover/run-failover/variables.tf
66
67
providers : terraform/azure-mssql-db-failover/run-failover/run-failover-providers.tf
67
68
main : terraform/azure-mssql-db-failover/run-failover/run-failover.tf
68
69
computed_inputs : []
Original file line number Diff line number Diff line change 1
1
variable "azure_tenant_id" { type = string }
2
2
variable "azure_subscription_id" { type = string }
3
3
variable "azure_client_id" { type = string }
4
- variable "azure_client_secret" { type = string }
4
+ variable "azure_client_secret" {
5
+ type = string
6
+ sensitive = true
7
+ }
5
8
variable "skip_provider_registration" { type = bool }
6
9
variable "instance_name" { type = string }
7
10
variable "resource_group" { type = string }
Original file line number Diff line number Diff line change 1
1
variable "azure_tenant_id" { type = string }
2
2
variable "azure_subscription_id" { type = string }
3
3
variable "azure_client_id" { type = string }
4
- variable "azure_client_secret" { type = string }
4
+ variable "azure_client_secret" {
5
+ type = string
6
+ sensitive = true
7
+ }
5
8
variable "skip_provider_registration" { type = bool }
6
9
variable "eventhub_rg_name" { type = string }
7
10
variable "namespace_name" { type = string }
Original file line number Diff line number Diff line change 1
1
variable "azure_tenant_id" { type = string }
2
2
variable "azure_subscription_id" { type = string }
3
3
variable "azure_client_id" { type = string }
4
- variable "azure_client_secret" { type = string }
4
+ variable "azure_client_secret" {
5
+ type = string
6
+ sensitive = true
7
+ }
5
8
variable "skip_provider_registration" { type = bool }
6
9
variable "instance_name" { type = string }
7
10
variable "resource_group" { type = string }
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ variable "instance_name" { type = string }
3
3
variable "azure_tenant_id" { type = string }
4
4
variable "azure_subscription_id" { type = string }
5
5
variable "azure_client_id" { type = string }
6
- variable "azure_client_secret" { type = string }
6
+ variable "azure_client_secret" {
7
+ type = string
8
+ sensitive = true
9
+ }
7
10
variable "account_name" { type = string }
8
11
variable "db_name" { type = string }
9
12
variable "collection_name" { type = string }
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- variable "azure_subscription_id" { type = string }
16
- variable "azure_client_id" { type = string }
17
- variable "azure_client_secret" { type = string }
18
- variable "azure_tenant_id" { type = string }
19
- variable "skip_provider_registration" { type = bool }
20
-
21
15
provider "azurerm" {
22
16
features {}
23
17
Original file line number Diff line number Diff line change
1
+ variable "azure_subscription_id" { type = string }
2
+ variable "azure_client_id" { type = string }
3
+ variable "azure_client_secret" {
4
+ type = string
5
+ sensitive = true
6
+ }
7
+ variable "azure_tenant_id" { type = string }
8
+ variable "skip_provider_registration" { type = bool }
1
9
variable "instance_name" { type = string }
2
- variable "server_credential_pairs" { type = map (any ) }
10
+ variable "server_credential_pairs" {
11
+ type = map (any )
12
+ sensitive = true
13
+ }
3
14
variable "server_pair" { type = string }
4
15
variable "db_name" { type = string }
5
16
variable "labels" { type = map (any ) }
Original file line number Diff line number Diff line change 1
- variable "azure_tenant_id" { type = string }
2
- variable "azure_subscription_id" { type = string }
3
- variable "azure_client_id" { type = string }
4
- variable "azure_client_secret" { type = string }
5
-
6
1
provider "csbmssqldbrunfailover" {
7
2
azure_tenant_id = var. azure_tenant_id
8
3
azure_client_id = var. azure_client_id
Original file line number Diff line number Diff line change
1
+ variable "azure_tenant_id" { type = string }
2
+ variable "azure_subscription_id" { type = string }
3
+ variable "azure_client_id" { type = string }
4
+ variable "azure_client_secret" {
5
+ type = string
6
+ sensitive = true
7
+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ variable "mssql_db_name" { type = string }
16
16
variable "mssql_hostname" { type = string }
17
17
variable "mssql_port" { type = number }
18
18
variable "admin_username" { type = string }
19
- variable "admin_password" { type = string }
19
+ variable "admin_password" {
20
+ type = string
21
+ sensitive = true
22
+ }
20
23
variable "server" { type = string }
21
- variable "server_credentials" { type = map (any ) }
24
+ variable "server_credentials" {
25
+ type = map (any )
26
+ sensitive = true
27
+ }
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- variable "azure_subscription_id" { type = string }
16
- variable "azure_client_id" { type = string }
17
- variable "azure_client_secret" { type = string }
18
- variable "azure_tenant_id" { type = string }
19
- variable "skip_provider_registration" { type = bool }
20
-
21
15
provider "azurerm" {
22
16
features {}
23
17
Original file line number Diff line number Diff line change
1
+ variable "azure_subscription_id" { type = string }
2
+ variable "azure_client_id" { type = string }
3
+ variable "azure_client_secret" {
4
+ type = string
5
+ sensitive = true
6
+ }
7
+ variable "azure_tenant_id" { type = string }
8
+ variable "skip_provider_registration" { type = bool }
1
9
variable "db_name" { type = string }
2
10
variable "server" { type = string }
3
- variable "server_credentials" { type = map (any ) }
11
+ variable "server_credentials" {
12
+ type = map (any )
13
+ sensitive = true
14
+ }
4
15
variable "labels" { type = map (any ) }
5
16
variable "sku_name" { type = string }
6
17
variable "cores" { type = number }
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ variable "instance_name" { type = string }
2
2
variable "azure_tenant_id" { type = string }
3
3
variable "azure_subscription_id" { type = string }
4
4
variable "azure_client_id" { type = string }
5
- variable "azure_client_secret" { type = string }
5
+ variable "azure_client_secret" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "resource_group" { type = string }
7
10
variable "db_name" { type = string }
8
11
variable "location" { type = string }
Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ variable "instance_name" { type = string }
2
2
variable "azure_tenant_id" { type = string }
3
3
variable "azure_subscription_id" { type = string }
4
4
variable "azure_client_id" { type = string }
5
- variable "azure_client_secret" { type = string }
5
+ variable "azure_client_secret" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "resource_group" { type = string }
7
10
variable "admin_username" { type = string }
8
- variable "admin_password" { type = string }
11
+ variable "admin_password" {
12
+ type = string
13
+ sensitive = true
14
+ }
9
15
variable "location" { type = string }
10
16
variable "labels" { type = map (any ) }
11
17
variable "authorized_network" { type = string }
Original file line number Diff line number Diff line change @@ -2,4 +2,7 @@ variable "mssql_db_name" { type = string }
2
2
variable "mssql_hostname" { type = string }
3
3
variable "mssql_port" { type = number }
4
4
variable "admin_username" { type = string }
5
- variable "admin_password" { type = string }
5
+ variable "admin_password" {
6
+ type = string
7
+ sensitive = true
8
+ }
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ variable "location" { type = string }
5
5
variable "azure_tenant_id" { type = string }
6
6
variable "azure_subscription_id" { type = string }
7
7
variable "azure_client_id" { type = string }
8
- variable "azure_client_secret" { type = string }
8
+ variable "azure_client_secret" {
9
+ type = string
10
+ sensitive = true
11
+ }
9
12
variable "labels" { type = map (any ) }
10
13
variable "sku_name" { type = string }
11
14
variable "cores" { type = number }
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ variable "mysql_db_name" { type = string }
2
2
variable "mysql_hostname" { type = string }
3
3
variable "mysql_port" { type = number }
4
4
variable "admin_username" { type = string }
5
- variable "admin_password" { type = string }
5
+ variable "admin_password" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "use_tls" { type = bool }
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ variable "resource_group" { type = string }
3
3
variable "azure_tenant_id" { type = string }
4
4
variable "azure_subscription_id" { type = string }
5
5
variable "azure_client_id" { type = string }
6
- variable "azure_client_secret" { type = string }
6
+ variable "azure_client_secret" {
7
+ type = string
8
+ sensitive = true
9
+ }
7
10
variable "db_name" { type = string }
8
11
variable "mysql_version" { type = string }
9
12
variable "location" { type = string }
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ variable "db_name" { type = string }
2
2
variable "hostname" { type = string }
3
3
variable "port" { type = number }
4
4
variable "admin_username" { type = string }
5
- variable "admin_password" { type = string }
5
+ variable "admin_password" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "use_tls" { type = bool }
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ variable "resource_group" { type = string }
8
8
variable "azure_tenant_id" { type = string }
9
9
variable "azure_subscription_id" { type = string }
10
10
variable "azure_client_id" { type = string }
11
- variable "azure_client_secret" { type = string }
11
+ variable "azure_client_secret" {
12
+ type = string
13
+ sensitive = true
14
+ }
12
15
variable "postgres_version" { type = string }
13
16
variable "sku_name" { type = string }
14
17
variable "authorized_network" { type = string }
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ variable "resource_group" { type = string }
2
2
variable "azure_tenant_id" { type = string }
3
3
variable "azure_subscription_id" { type = string }
4
4
variable "azure_client_id" { type = string }
5
- variable "azure_client_secret" { type = string }
5
+ variable "azure_client_secret" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "sku_name" { type = string }
7
10
variable "redis_version" { type = string }
8
11
variable "family" { type = string }
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ variable "instance_name" { type = string }
2
2
variable "azure_tenant_id" { type = string }
3
3
variable "azure_subscription_id" { type = string }
4
4
variable "azure_client_id" { type = string }
5
- variable "azure_client_secret" { type = string }
5
+ variable "azure_client_secret" {
6
+ type = string
7
+ sensitive = true
8
+ }
6
9
variable "location" { type = string }
7
10
variable "labels" { type = map (any ) }
8
11
variable "skip_provider_registration" { type = bool }
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ variable "resource_group" { type = string }
7
7
variable "azure_tenant_id" { type = string }
8
8
variable "azure_subscription_id" { type = string }
9
9
variable "azure_client_id" { type = string }
10
- variable "azure_client_secret" { type = string }
10
+ variable "azure_client_secret" {
11
+ type = string
12
+ sensitive = true
13
+ }
11
14
variable "skip_provider_registration" { type = bool }
12
15
variable "authorized_networks" { type = list (string ) }
You can’t perform that action at this time.
0 commit comments