Skip to content

Commit

Permalink
Add workflows and update AI Search KV names
Browse files Browse the repository at this point in the history
  • Loading branch information
albal committed Feb 14, 2024
1 parent 78adbaa commit 287c480
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/load-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
TF_VAR_cpd_gf_password: ${{secrets.TF_CPD_GF_PASSWORD}}
TF_VAR_cpd_gf_plugins: ${{secrets.TF_VAR_CPD_GF_PLUGINS}}
TF_VAR_cpd_gf_image_tag: ${{vars.TF_VAR_CPD_GF_IMAGE_TAG}}
TF_VAR_whitelist_ips: ${{vars.TF_VAR_WHITELIST_IPS}}
TF_VAR_vcs_tag: ${{github.event.release.tag_name}}
TF_WORKSPACE: Load-Test
SITE_URL: https://20.107.65.156/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terraform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
TF_VAR_cpd_gf_password: ${{secrets.TF_CPD_GF_PASSWORD}}
TF_VAR_cpd_gf_plugins: ${{secrets.TF_VAR_CPD_GF_PLUGINS}}
TF_VAR_cpd_gf_image_tag: ${{vars.TF_VAR_CPD_GF_IMAGE_TAG}}
TF_VAR_whitelist_ips: ${{vars.TF_VAR_WHITELIST_IPS}}
TF_VAR_vcs_tag: ${{github.event.release.tag_name}}
TF_WORKSPACE: ${{inputs.workspace}}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
TF_VAR_cpd_gf_password: ${{secrets.TF_CPD_GF_PASSWORD}}
TF_VAR_cpd_gf_plugins: ${{secrets.TF_VAR_CPD_GF_PLUGINS}}
TF_VAR_cpd_gf_image_tag: ${{vars.TF_VAR_CPD_GF_IMAGE_TAG}}
TF_VAR_whitelist_ips: ${{vars.TF_VAR_WHITELIST_IPS}}
TF_VAR_vcs_tag: ${{github.event.release.tag_name}}
TF_WORKSPACE: ${{inputs.workspace}}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
TF_VAR_cpd_gf_password: ${{secrets.TF_CPD_GF_PASSWORD}}
TF_VAR_cpd_gf_plugins: ${{secrets.TF_VAR_CPD_GF_PLUGINS}}
TF_VAR_cpd_gf_image_tag: ${{vars.TF_VAR_CPD_GF_IMAGE_TAG}}
TF_VAR_whitelist_ips: ${{vars.TF_VAR_WHITELIST_IPS}}
TF_VAR_vcs_tag: ${{github.event.release.tag_name}}
TF_WORKSPACE: ${{inputs.workspace}}

Expand Down
4 changes: 2 additions & 2 deletions Terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ No modules.
| <a name="input_request_routing_rule_name"></a> [request\_routing\_rule\_name](#input\_request\_routing\_rule\_name) | Name of Request Routing Rule | `map(string)` | <pre>{<br> "Dev": "s185d01-chidrens-social-care-cpd-rule-http",<br> "Load-Test": "s185d03-chidrens-social-care-cpd-rule-http",<br> "Pre-Prod": "s185t01-chidrens-social-care-cpd-rule-http",<br> "Prod": "s185p01-chidrens-social-care-cpd-rule-http",<br> "Test": "s185d02-chidrens-social-care-cpd-rule-http"<br>}</pre> | no |
| <a name="input_request_ssl_routing_rule_name"></a> [request\_ssl\_routing\_rule\_name](#input\_request\_ssl\_routing\_rule\_name) | Name of Request SSL Routing Rule | `map(string)` | <pre>{<br> "Dev": "s185d01-chidrens-social-care-cpd-rule-https",<br> "Load-Test": "s185d03-chidrens-social-care-cpd-rule-https",<br> "Pre-Prod": "s185t01-chidrens-social-care-cpd-rule-https",<br> "Prod": "s185p01-chidrens-social-care-cpd-rule-https",<br> "Test": "s185d02-chidrens-social-care-cpd-rule-https"<br>}</pre> | no |
| <a name="input_rg_name"></a> [rg\_name](#input\_rg\_name) | Name of Resource Group | `map(string)` | <pre>{<br> "Dev": "s185d01-childrens-social-care-cpd-rg",<br> "Load-Test": "s185d03-childrens-social-care-cpd-rg",<br> "Pre-Prod": "s185t01-childrens-social-care-cpd-rg",<br> "Prod": "s185p01-childrens-social-care-cpd-rg",<br> "Test": "s185d02-childrens-social-care-cpd-rg"<br>}</pre> | no |
| <a name="input_search_indexer_key_vault_name"></a> [search\_indexer\_key\_vault\_name](#input\_search\_indexer\_key\_vault\_name) | Name of Search Indexer Key Vault | `map(string)` | <pre>{<br> "Dev": "s185d01-SearchIndexer-KV",<br> "Load-Test": "s185d03-SearchIndexer-KV",<br> "Pre-Prod": "s185t01-SearchIndexer-KV",<br> "Prod": "s185p01-SearchIndexer-KV",<br> "Test": "s185d02-SearchIndexer-KV"<br>}</pre> | no |
| <a name="input_search_indexer_key_vault_url"></a> [search\_indexer\_key\_vault\_url](#input\_search\_indexer\_key\_vault\_url) | URL of Search Indexer Key Vault | `map(string)` | <pre>{<br> "Dev": "https://s185d01-search-indexer-key-vault.vault.azure.net/",<br> "Load-Test": "https://s185d03-search-indexer-key-vault.vault.azure.net/",<br> "Pre-Prod": "https://s185t01-search-indexer-key-vault.vault.azure.net/",<br> "Prod": "https://s185p01-search-indexer-key-vault.vault.azure.net/",<br> "Test": "https://s185d02-search-indexer-key-vault.vault.azure.net/"<br>}</pre> | no |
| <a name="input_search_indexer_key_vault_name"></a> [search\_indexer\_key\_vault\_name](#input\_search\_indexer\_key\_vault\_name) | Name of Search Indexer Key Vault | `map(string)` | <pre>{<br> "Dev": "s185d01-kv-search",<br> "Load-Test": "s185d03-kv-search",<br> "Pre-Prod": "s185t01-kv-search",<br> "Prod": "s185p01-kv-search",<br> "Test": "s185d02-kv-search"<br>}</pre> | no |
| <a name="input_search_indexer_key_vault_url"></a> [search\_indexer\_key\_vault\_url](#input\_search\_indexer\_key\_vault\_url) | URL of Search Indexer Key Vault | `map(string)` | <pre>{<br> "Dev": "https://s185d01-kv-search.vault.azure.net/",<br> "Load-Test": "https://s185d03-kv-search.vault.azure.net/",<br> "Pre-Prod": "https://s185t01-kv-search.vault.azure.net/",<br> "Prod": "https://s185p01-kv-search.vault.azure.net/",<br> "Test": "https://s185d02-kv-search.vault.azure.net/"<br>}</pre> | no |
| <a name="input_search_private_endpoint_conn_name"></a> [search\_private\_endpoint\_conn\_name](#input\_search\_private\_endpoint\_conn\_name) | Name of Private Endpoint Connection | `map(string)` | <pre>{<br> "Dev": "s185d01-searchprivateendpointconnection",<br> "Load-Test": "s185d03-searchprivateendpointconnection",<br> "Pre-Prod": "s185t01-searchprivateendpointconnection",<br> "Prod": "s185p01-searchprivateendpointconnection",<br> "Test": "s185d02-searchprivateendpointconnection"<br>}</pre> | no |
| <a name="input_search_private_endpoint_name"></a> [search\_private\_endpoint\_name](#input\_search\_private\_endpoint\_name) | Name of Search Private Endpoint | `map(string)` | <pre>{<br> "Dev": "s185d01-searchprivateendpoint",<br> "Load-Test": "s185d03-searchprivateendpoint",<br> "Pre-Prod": "s185t01-searchprivateendpoint",<br> "Prod": "s185p01-searchprivateendpoint",<br> "Test": "s185d02-searchprivateendpoint"<br>}</pre> | no |
| <a name="input_service_plan_name"></a> [service\_plan\_name](#input\_service\_plan\_name) | Name of Service Plan | `map(string)` | <pre>{<br> "Dev": "s185d01-csc-cpd-app-service-plan",<br> "Load-Test": "s185d03-csc-cpd-app-service-plan",<br> "Pre-Prod": "s185t01-csc-cpd-app-service-plan",<br> "Prod": "s185p01-csc-cpd-app-service-plan",<br> "Test": "s185d02-csc-cpd-app-service-plan"<br>}</pre> | no |
Expand Down
20 changes: 10 additions & 10 deletions Terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -423,23 +423,23 @@ variable "key_vault_url" {
variable "search_indexer_key_vault_name" {
type = map(string)
default = {
Dev = "s185d01-SearchIndexer-KV"
Test = "s185d02-SearchIndexer-KV"
Load-Test = "s185d03-SearchIndexer-KV"
Pre-Prod = "s185t01-SearchIndexer-KV"
Prod = "s185p01-SearchIndexer-KV"
Dev = "s185d01-kv-search"
Test = "s185d02-kv-search"
Load-Test = "s185d03-kv-search"
Pre-Prod = "s185t01-kv-search"
Prod = "s185p01-kv-search"
}
description = "Name of Search Indexer Key Vault"
}

variable "search_indexer_key_vault_url" {
type = map(string)
default = {
Dev = "https://s185d01-search-indexer-key-vault.vault.azure.net/"
Test = "https://s185d02-search-indexer-key-vault.vault.azure.net/"
Load-Test = "https://s185d03-search-indexer-key-vault.vault.azure.net/"
Pre-Prod = "https://s185t01-search-indexer-key-vault.vault.azure.net/"
Prod = "https://s185p01-search-indexer-key-vault.vault.azure.net/"
Dev = "https://s185d01-kv-search.vault.azure.net/"
Test = "https://s185d02-kv-search.vault.azure.net/"
Load-Test = "https://s185d03-kv-search.vault.azure.net/"
Pre-Prod = "https://s185t01-kv-search.vault.azure.net/"
Prod = "https://s185p01-kv-search.vault.azure.net/"
}
description = "URL of Search Indexer Key Vault"
}
Expand Down

0 comments on commit 287c480

Please sign in to comment.