Skip to content

Commit 9e0a683

Browse files
committed
adds pagerduty terraform
1 parent 7477f69 commit 9e0a683

File tree

7 files changed

+811
-1
lines changed

7 files changed

+811
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
terraform-provider-alks
2-
*.tfstate
32
test.env
43
*.backup
54
release
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# You can grab one from the awsalks account's SSM parameter store and pass it into `terraform apply` with the -var flag
2+
variable "pagerduty_api_key" {
3+
description = "Token with permission to create and manage pagerduty services for Cloud Railway"
4+
type = string
5+
}
6+
7+
provider "pagerduty" {
8+
token = var.pagerduty_api_key
9+
}
10+
11+
locals {
12+
app_name = "terraform provider alks"
13+
environment = "dev"
14+
ciid = "CI2355951"
15+
}
16+
17+
module "pagerduty" {
18+
source = "git::ssh://[email protected]/ETS-CloudAutomation/cloud-railway-operations//terraform_modules/pagerduty?ref=v1.4.2"
19+
application_name = local.app_name
20+
environment = local.environment
21+
escalation_policy = "Cloud Railway Escalation"
22+
service_dependencies = ["alks prod"]
23+
CIID = local.ciid
24+
}

0 commit comments

Comments
 (0)