Skip to content

Commit 0cdca35

Browse files
authored
Merge pull request #2 from kumarvna/develop
updating examples
2 parents 693c743 + 2edee12 commit 0cdca35

File tree

8 files changed

+25
-26
lines changed

8 files changed

+25
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Azure Database for MariaDB is a relational database service based on the open-so
1616
## Module Usage
1717

1818
```hcl
19-
module "mariadb" {
19+
module "mariadb-server" {
2020
source = "kumarvna/mariadb-server/azurerm"
2121
version = "1.0.0"
2222

examples/MariaDB_Server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Azure Database for MariaDB is a relational database service based on the open-so
55
## Module Usage
66

77
```terraform
8-
module "mariadb" {
8+
module "mariadb-server" {
99
source = "kumarvna/mariadb-server/azurerm"
1010
version = "1.0.0"
1111

examples/MariaDB_Server/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module "mariadb" {
1+
module "mariadb-server" {
22
source = "kumarvna/mariadb-server/azurerm"
33
version = "1.0.0"
44

examples/MariaDB_Server/output.tf

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
11
output "resource_group_name" {
22
description = "The name of the resource group in which resources are created"
3-
value = module.mariadb.resource_group_name
3+
value = module.mariadb-server.resource_group_name
44
}
55

66
output "resource_group_location" {
77
description = "The location of the resource group in which resources are created"
8-
value = module.mariadb.resource_group_location
8+
value = module.mariadb-server.resource_group_location
99
}
1010

1111
output "storage_account_id" {
1212
description = "The ID of the storage account"
13-
value = module.mariadb.storage_account_id
13+
value = module.mariadb-server.storage_account_id
1414
}
1515

1616
output "storage_account_name" {
1717
description = "The name of the storage account"
18-
value = module.mariadb.storage_account_name
18+
value = module.mariadb-server.storage_account_name
1919
}
2020

2121
output "mariadb_server_id" {
2222
description = "The resource ID of the MariaDB Server"
23-
value = module.mariadb.mariadb_server_id
23+
value = module.mariadb-server.mariadb_server_id
2424
}
2525

2626
output "mariadb_server_fqdn" {
2727
description = "The FQDN of the MariaDB Server"
28-
value = module.mariadb.mariadb_server_fqdn
28+
value = module.mariadb-server.mariadb_server_fqdn
2929
}
3030

3131
output "mariadb_database_id" {
3232
description = "The resource ID of the MariaDB Database"
33-
value = module.mariadb.mariadb_database_id
33+
value = module.mariadb-server.mariadb_database_id
3434
}
35-

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Azure Database for MariaDB is a relational database service based on the open-so
55
## Module Usage (MariaDB with optional resources)
66

77
```terraform
8-
module "mariadb" {
8+
module "mariadb-server" {
99
source = "kumarvna/mariadb-server/azurerm"
1010
version = "1.0.0"
1111
@@ -80,7 +80,7 @@ module "mariadb" {
8080
## Module Usage (MariaDB with Private Endpoint and other optional resources)
8181

8282
```hcl
83-
module "mariadb" {
83+
module "mariadb-server" {
8484
source = "kumarvna/mariadb-server/azurerm"
8585
version = "1.0.0"
8686

examples/mariadb_server_with_private_endpoints/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Azure Database for MariaDB is a relational database service based on the open-so
55
## Module Usage
66

77
```terraform
8-
module "mariadb" {
8+
module "mariadb-server" {
99
source = "kumarvna/mariadb-server/azurerm"
1010
version = "1.0.0"
1111

examples/mariadb_server_with_private_endpoints/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module "mariadb" {
1+
module "mariadb-server" {
22
source = "kumarvna/mariadb-server/azurerm"
33
version = "1.0.0"
44

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
output "resource_group_name" {
22
description = "The name of the resource group in which resources are created"
3-
value = module.mariadb.resource_group_name
3+
value = module.mariadb-server.resource_group_name
44
}
55

66
output "resource_group_location" {
77
description = "The location of the resource group in which resources are created"
8-
value = module.mariadb.resource_group_location
8+
value = module.mariadb-server.resource_group_location
99
}
1010

1111
output "storage_account_id" {
1212
description = "The ID of the storage account"
13-
value = module.mariadb.storage_account_id
13+
value = module.mariadb-server.storage_account_id
1414
}
1515

1616
output "storage_account_name" {
1717
description = "The name of the storage account"
18-
value = module.mariadb.storage_account_name
18+
value = module.mariadb-server.storage_account_name
1919
}
2020

2121
output "mariadb_server_id" {
2222
description = "The resource ID of the MariaDB Server"
23-
value = module.mariadb.mariadb_server_id
23+
value = module.mariadb-server.mariadb_server_id
2424
}
2525

2626
output "mariadb_server_fqdn" {
2727
description = "The FQDN of the MariaDB Server"
28-
value = module.mariadb.mariadb_server_fqdn
28+
value = module.mariadb-server.mariadb_server_fqdn
2929
}
3030

3131
output "mariadb_database_id" {
3232
description = "The resource ID of the MariaDB Database"
33-
value = module.mariadb.mariadb_database_id
33+
value = module.mariadb-server.mariadb_database_id
3434
}
3535

3636
output "mariadb_server_private_endpoint" {
3737
description = "id of the MariaDB server Private Endpoint"
38-
value = module.mariadb.mariadb_server_private_endpoint
38+
value = module.mariadb-server.mariadb_server_private_endpoint
3939
}
4040

4141
output "mariadb_server_private_dns_zone_domain" {
4242
description = "DNS zone name of MariaDB server Private endpoints dns name records"
43-
value = module.mariadb.mariadb_server_private_dns_zone_domain
43+
value = module.mariadb-server.mariadb_server_private_dns_zone_domain
4444
}
4545

4646
output "mariadb_server_private_endpoint_ip" {
4747
description = "MariaDB server private endpoint IPv4 Addresses "
48-
value = module.mariadb.mariadb_server_private_endpoint_ip
48+
value = module.mariadb-server.mariadb_server_private_endpoint_ip
4949
}
5050

5151
output "mariadb_server_private_endpoint_fqdn" {
5252
description = "MariaDB server private endpoint FQDN Addresses "
53-
value = module.mariadb.mariadb_server_private_endpoint_fqdn
53+
value = module.mariadb-server.mariadb_server_private_endpoint_fqdn
5454
}

0 commit comments

Comments
 (0)