Skip to content

Conversation

@SulthanaSaleem-QB
Copy link
Collaborator

No description provided.

location = var.location
}

resource "azurerm_virtual_network" "vnet" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please dont create vnets here, use the existing modules under modules/vnet .

In fact try to reuse as much as possible. If your missing a module create that first.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used existing vnet module

depends_on = [azurerm_private_dns_zone_virtual_network_link.vlink]
}

resource "azurerm_mysql_flexible_database" "sqldb" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be wrong but this can only create a flexible database. Please add options to create azurerm_sql_server based on the user's requirement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single Server service, it can no longer handle all the new features, functions, and security needs and Azure Database for MySQL - Single Server is scheduled for retirement by September 16, 2024. We have 2 options while creating azure mysql db one is flexible and another one is word-press + flexible server

server_name = azurerm_mysql_flexible_server.sqlserver.name
start_ip_address = var.mysql_firewall_start_ip
end_ip_address = var.mysql_firewall_end_ip
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please add options to create VNET private links.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similaryl add as many features as possible, tht you feel will be needed,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added private endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants