diff --git a/terraform/azure/main.tf b/terraform/azure/main.tf index dbc2893cd..f435f0900 100644 --- a/terraform/azure/main.tf +++ b/terraform/azure/main.tf @@ -19,13 +19,6 @@ terraform { source = "hashicorp/kubernetes" version = "~> 2.25" } - - # Used to decrypt sops encrypted secrets containing PagerDuty keys - sops = { - # ref: https://registry.terraform.io/providers/carlpett/sops/latest - source = "carlpett/sops" - version = "~> 0.7.2" - } } backend "gcs" { bucket = "two-eye-two-see-org-terraform-state" diff --git a/terraform/azure/pagerduty.tf b/terraform/azure/pagerduty.tf index 67f135c64..e6e44accd 100644 --- a/terraform/azure/pagerduty.tf +++ b/terraform/azure/pagerduty.tf @@ -8,11 +8,6 @@ * https://2i2c-org.pagerduty.com/service-directory/?direction=asc&query=&team_ids=all * */ -data "sops_file" "pagerduty_service_integration_keys" { - # Read sops encrypted file containing integration key for pagerduty - source_file = "secret/enc-pagerduty-service-integration-keys.secret.yaml" -} - resource "azurerm_monitor_action_group" "alerts" { name = "AlertsActionGroup" # Changing this forces a recreation resource_group_name = var.resourcegroup_name