diff --git a/axiom-cloudwatch-logs-subscriber-cloudformation-stack.template.yaml b/axiom-cloudwatch-logs-subscriber-cloudformation-stack.template.yaml index bac3257..126194c 100644 --- a/axiom-cloudwatch-logs-subscriber-cloudformation-stack.template.yaml +++ b/axiom-cloudwatch-logs-subscriber-cloudformation-stack.template.yaml @@ -103,16 +103,11 @@ Resources: "Fn::Join": ["-", [{ "Ref": "AWS::StackName" }, "axiom-auto-subscription-rule"]] Targets: - - { - Id: - { - !Join [ - "-", - [!Ref "AWS::StackName", "axiom-auto-subscription-rule"], - ], - }, - Arn: { !GetAtt ["AxiomCloudWatchLogsSubscriber", "Arn"] }, - } + - Id: !Join [ + "-", + [!Ref "AWS::StackName", "axiom-auto-subscription-rule"] + ] + Arn: { !GetAtt ["AxiomCloudWatchLogsSubscriber", "Arn"] } AxiomCloudWatchLogsSubscriberPolicy: Type: AWS::IAM::Policy Properties: