aws-config-sns-topic.yaml
---

UA CloudOPS AWS Config to ServiceNow Integration

This CloudFormation template will deploy an SNS topic to deliver AWS Config data to ServiceNow to keep the SN CMDB up to date.

AWSTemplateFormatVersion: '2010-09-09' Description: UA CloudOPS AWS Config SNS Topic

Parameters

Parameters: ServiceNowInstanceName: Type: String Description: The DNS name of the ServiceNow instance, ie uacloudops.service-now.com AllowedPattern: "(?!-)[a-zA-Z0-9-.]{1,63}(?<!-)" ConstraintDescription: Must be a valid character in a DNS name. ServiceNowRoleName: Type: String Description: The role name from ServiceNow to use for authentication ServiceNowRolePassword: Type: String Description: The role password from ServiceNow to use for authentication NoEcho: 'true' Resources: SNSTopic: Type: AWS::SNS::Topic Properties: TopicName: uacloudps-sncmdb-config-topic DisplayName: UA CloudOps ServiceNow CMDB SNS Topic Subscription: - Endpoint: !Sub "https://${ServiceNowRoleName}:${ServiceNowRolePassword}@${ServiceNowInstanceName}/api/now/cloud_event" Protocol: https Outputs: SNSTopic: Value: !Ref SNSTopic