Skip to content

Commit

Permalink
Merge pull request #369 from aztfmod/sql-msi-script
Browse files Browse the repository at this point in the history
Added set -e for mssql_database module script
  • Loading branch information
arnaudlh committed Apr 8, 2021
2 parents 1038871 + 8618993 commit 930cc15
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version: '3.7'
services:
rover:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
user: vscode

labels:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master-100-tf13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
]

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master-100-tf14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master-100-tf15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
]

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master-sql-mi-tf13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
]

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master-sql-mi-tf14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master-sql-mi-tf15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
]

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-standalone-tf13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
]

container:
image: aztfmod/rover:0.13.6-2103.3107
image: aztfmod/rover:0.13.6-2104.0803
options: --user 0

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-standalone-tf14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-standalone-tf15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
]

container:
image: aztfmod/rover:0.15.0-beta2-2103.3107
image: aztfmod/rover:0.15.0-rc2-2104.0803
options: --user 0

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/purge_protection_enabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
random_length: ['5']

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
region: ["southeastasia"]

container:
image: aztfmod/rover:0.14.9-2103.3107
image: aztfmod/rover:0.14.10-2104.0803
options: --user 0

steps:
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/mariadb_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mariadb_server.mariadb.id
}

output "fqdn" {
value = azurerm_mariadb_server.mariadb.fqdn
}

output "name" {
value = azurecaf_name.mariadb.result
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# update rover with odbcinst.ini > sql odbc driver to 17.7.2 / 17.6

set -e
echo "[SQLSERVER]
Driver = ODBC Driver 17 for SQL Server
Server = tcp:${SQLCMDSERVER},1433
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/mssql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mssql_server.mssql.id
}

output "fully_qualified_domain_name" {
value = azurerm_mssql_server.mssql.fully_qualified_domain_name
}

output "rbac_id" {
value = try(azurerm_mssql_server.mssql.identity[0].principal_id, null)
}
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/mysql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mysql_server.mysql.id
}

output "fqdn" {
value = azurerm_mysql_server.mysql.fqdn
}

output "rbac_id" {
value = try(azurerm_mysql_server.mysql.identity[0].principal_id, null)
}
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/postgresql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_postgresql_server.postgresql.id
}

output "fqdn" {
value = azurerm_postgresql_server.postgresql.fqdn
}

output "rbac_id" {
value = try(azurerm_postgresql_server.postgresql.identity[0].principal_id, null)
}
Expand Down

0 comments on commit 930cc15

Please sign in to comment.