Skip to content

Commit

Permalink
Updated min password (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
davesee authored Feb 16, 2021
1 parent 88ba3f0 commit 3ee56ea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/azure/terraform-azure-mysqldb-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ resource "azurerm_resource_group" "mysql_rg" {
# This is not as a production recommendation as the password is stored in the Terraform state file.
resource "random_password" "password" {
length = 16
special = true
override_special = "_%@"
min_upper = "1"
min_lower = "1"
min_numeric = "1"
min_special = "1"
}

resource "azurerm_mysql_server" "mysqlserver" {
Expand Down
5 changes: 4 additions & 1 deletion examples/azure/terraform-azure-sqldb-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ resource "azurerm_resource_group" "sql_rg" {

resource "random_password" "password" {
length = 16
special = true
override_special = "_%@"
min_upper = "1"
min_lower = "1"
min_numeric = "1"
min_special = "1"
}

resource "azurerm_sql_server" "sqlserver" {
Expand Down
4 changes: 4 additions & 0 deletions modules/azure/resourcegroup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// +build azure

// NOTE: We use build tags to differentiate azure testing because we currently do not have azure access setup for
// CircleCI.
package azure

import (
Expand Down

0 comments on commit 3ee56ea

Please sign in to comment.