-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mx machine without ftl * add custom script to run ftl command * add readiness * add statistics, dam model instance type, storage variable, fix dam random password for 14.7 * change custom scripts variable type to map * add worakaround for Provider produced inconsistent final plan error * add agent gw, fix azure dam models and other fixes * add agent gw cluster * add mx-hub association * update gw ftl command * fix sg for udp and fix ftl * dev rebase and remove dns variables * add db with agent for postgres * protect db-wth-agent custom_script from rerun * add mysql * small changes and add dam to automation * add dam variables to plan action * update github action name for poc cli azure * add readme * code review fixes * remove ftl command change as trigger for custom_script * reorder variables to be same as in aws [skip actions] * rebase with dev * remove new version for rebase [skip actions] * change storage account for dsf installation files * add dam modules to deploy_module.yml for release * update release date
- Loading branch information
1 parent
f297a6c
commit 3482a49
Showing
53 changed files
with
2,691 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
locals { | ||
db_types_for_agent = local.agent_gw_count > 0 ? var.simulation_db_types_for_agent : [] | ||
} | ||
|
||
module "db_with_agent" { | ||
source = "../../../../modules/azurerm/db-with-agent" | ||
count = length(local.db_types_for_agent) | ||
|
||
friendly_name = join("-", [local.deployment_name_salted, "db", "with", "agent", count.index]) | ||
resource_group = local.resource_group | ||
binaries_location = var.dam_agent_installation_location | ||
db_type = local.db_types_for_agent[count.index] | ||
subnet_id = module.network[0].vnet_subnets[0] | ||
ssh_key = { | ||
ssh_public_key = tls_private_key.ssh_key.public_key_openssh | ||
ssh_private_key_file_path = local_sensitive_file.ssh_key.filename | ||
} | ||
allowed_ssh_cidrs = concat([format("%s/32", module.mx[0].private_ip)], module.network[0].vnet_address_space) | ||
|
||
registration_params = { | ||
agent_gateway_host = module.agent_gw[0].private_ip | ||
secure_password = local.password | ||
server_group = module.mx[0].configuration.default_server_group | ||
site = module.mx[0].configuration.default_site | ||
} | ||
tags = local.tags | ||
depends_on = [ | ||
module.agent_gw_cluster_setup | ||
] | ||
} |
Oops, something went wrong.