Closed softprops closed 5 months ago
Hi @softprops thanks for the input. We'll take a look at adding that resource type. Are there any other 3rd party resource types you'd like to see (both PagerDuty and non-PagerDuty)?
For completeness, there might need to be a way to configure pd cw integration
Here's a common usecase at my company when setting up a new service for completeness
in a service template...
then separately...
then come back and...
the end result looking something like
SnsTopic:
Type: AWS::SNS::Topic
Properties:
# topic definition
Subscription:
- Protocol: https
Endpoint: PAGER_DUTY_INTEGRATION_URL
Alarm:
Type: 'AWS::CloudWatch::Alarm'
Properties:
# alarm definition
OKActions:
- !Ref SnsTopic
AlarmActions:
- !Ref SnsTopic
What'd I'd love to be able to do is to set up the all of this in one infra template and not have to go manage pager duty service to get that integration url separately.
SnsTopic:
Type: AWS::SNS::Topic
Properties:
# topic definition
Subscription:
- Protocol: https
Endpoint: !GetAtt MyPDService.IntegrationURL // or something similar
Thanks for the additional context, we'll explore what's possible with exposing the integration URL for reference in a template. Makes complete sense to want to automate this end-to-end.
Is PagerDuty the only third-party provider you're interested in? Any other ones that you'd like to see?
For us PagerDuty is how aws alarms reach our oncall engineers. We don't have need for others atm.
We're planning to introduce an Integration resource type that you can use to create integrations in PagerDuty and reference it in other parts of your template. Will provide more updates here as development progresses.
Excellent!
Also to be clear I’d love to provision of services themselves in my templates. They represent the logical extension of the application. Application foo has a foo pd service with an cw integration whose url I attach to a sns topic subscription attached to a topic associated with ok/error alarms so that when an oncall engineer gets pages in pd there’s a clear mental map for which application is impacted
We're planning to add 2 PagerDuty resources. One for services and one for integrations.
I also wanted to note I did something like this a while ago for a serverless framework plugin (which I no longer use)
one parameter I’d like to have for the cf is service escalation policy. These tend to be shared across services so it doesn’t really fit with the stack but would need to be a service property to make the service useful. The escalation policy attached to the service determines who gets notified
Thanks for the input @softprops. There will be an EscalationPolicyId property in the Service resource. Is this what you're looking for?
Also the PR for the Service resource has been opened if you care to take a look :)
@LucasQChen this looks perfect!
@LucasQChen I saw the pr was approved. Do you know when this might be available for use?
@softprops We're aiming for some time in November. The team has to finish up some contract tests on these resources in order to publish it to the public Registry. There are some other pressing items that need to be taken up first priority-wise, but should be good to get these published after that.
Sounds great 👍
Just checking in to see how things are progressing
Running into some delays due to other tasks, but still aiming to get these published by end of the month.
Great to hear and thanks!
Sorry to bother folks but I was wondering if there was an update here?
Unfortunately, not yet. Some other emerging work had to be prioritized, but this is still planned. I will circle back with the team to get a new ETA.
No worries. I know the feeling
Looks like this landed in #43
I’m not sure how publishing works. Does a merge mean this is available to the registry now?
I checked but could find it listed under https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/registry/public-extensions?visibility=PUBLIC&type=RESOURCE&category=AWS_TYPES
The PR is merged, but publishing hasn't been done yet. The team started picking this back up (hence the merged the PR), but ran into some issues during the publishing process so they've been working to resolve.
Happy new years folks. Just checking in to see if there's an estimation when when these might be published and to show my support because I'm here to cheer you on
Hi @LucasQChen just checking in on how things are going.
Hey @softprops, our team is still working on this and plan to get this out. There are some test failures that are taking more time to resolve.
Great news! Both the PagerDuty Service and Integration resource are now published on the CloudFormation registry. Apologies for the delays on this and thank you everyone for your patience.
That's great new.
Sadly, I just lost the opportunity to take immediate advantage of feature as most of my company has just been laid off, but I'm going to keep this feature in mind at my next gig. This will definitely streamline the process of wiring up important monitoring notifications for essential services.
I would love to be able to manage pagerduty services using this tool. Are there any plans for this?