Skip to content

Commit

Permalink
remove old cms
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Jan 17, 2024
1 parent 9398370 commit 9394b63
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 213 deletions.
21 changes: 0 additions & 21 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,27 +128,6 @@ module "frontend_staging" {
resource_group_location = local.resource_group_location
}

module "cms" {
source = "./modules/cms"
env_name = "prod"
resource_group_name = module.common.resource_group_name
resource_group_location = local.resource_group_location
postgres_server_fqdn = module.common.postgres_server_fqdn
postgres_server_id = module.common.postgres_server_id
postgres_admin_password = module.common.postgres_admin_password
strapi_jwt_secret = module.keyvault.strapi_jwt_secret
strapi_admin_jwt_secret = module.keyvault.strapi_admin_jwt_secret
strapi_api_token_salt = module.keyvault.strapi_api_token_salt
strapi_app_keys = module.keyvault.strapi_app_keys
github_app_key = module.keyvault.github_app_key
uploads_storage_account_name = module.frontend.storage_account_name
uploads_storage_account_key = module.frontend.storage_account_key
uploads_container_name = module.frontend.uploads_container_name
tikweb_app_plan_id = module.common.tikweb_app_plan_id
tikweb_rg_location = module.common.resource_group_location
tikweb_rg_name = module.common.resource_group_name
}

module "ilmo" {
source = "./modules/ilmo"
env_name = "prod"
Expand Down
81 changes: 0 additions & 81 deletions modules/cms/main.tf

This file was deleted.

71 changes: 0 additions & 71 deletions modules/cms/variables.tf

This file was deleted.

24 changes: 0 additions & 24 deletions modules/keyvault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,6 @@ resource "azurerm_key_vault_access_policy" "admin" {

}

data "azurerm_key_vault_secret" "strapi_admin_jwt_secret" {
name = "strapi-admin-jwt-secret"
key_vault_id = azurerm_key_vault.keyvault.id
depends_on = [azurerm_key_vault_access_policy.admin, azurerm_key_vault_access_policy.CI]
}

data "azurerm_key_vault_secret" "strapi_jwt_secret" {
name = "strapi-jwt-secret"
key_vault_id = azurerm_key_vault.keyvault.id
depends_on = [azurerm_key_vault_access_policy.admin, azurerm_key_vault_access_policy.CI]
}

data "azurerm_key_vault_secret" "strapi_api_token_salt" {
name = "strapi-api-token-salt"
key_vault_id = azurerm_key_vault.keyvault.id
depends_on = [azurerm_key_vault_access_policy.admin, azurerm_key_vault_access_policy.CI]
}

data "azurerm_key_vault_secret" "strapi_app_keys" {
name = "strapi-app-keys"
key_vault_id = azurerm_key_vault.keyvault.id
depends_on = [azurerm_key_vault_access_policy.admin, azurerm_key_vault_access_policy.CI]
}

data "azurerm_key_vault_secret" "ilmo_auth_jwt_secret" {
name = "ilmo-auth-jwt-secret"
key_vault_id = azurerm_key_vault.keyvault.id
Expand Down
16 changes: 0 additions & 16 deletions modules/keyvault/output.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
output "strapi_admin_jwt_secret" {
value = data.azurerm_key_vault_secret.strapi_admin_jwt_secret.value
}

output "strapi_jwt_secret" {
value = data.azurerm_key_vault_secret.strapi_jwt_secret.value
}

output "strapi_api_token_salt" {
value = data.azurerm_key_vault_secret.strapi_api_token_salt.value
}

output "strapi_app_keys" {
value = data.azurerm_key_vault_secret.strapi_app_keys.value
}

output "ilmo_auth_jwt_secret" {
value = data.azurerm_key_vault_secret.ilmo_auth_jwt_secret.value
}
Expand Down

0 comments on commit 9394b63

Please sign in to comment.