Skip to content

Commit

Permalink
Merge pull request #51 from axiomhq/fix-release
Browse files Browse the repository at this point in the history
remove extra slash
  • Loading branch information
SollyzDev authored Apr 4, 2024
2 parents d4e3507 + 473ea02 commit 6e0d479
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
env:
SOURCE_DIR: build
AWS_S3_BUCKET: "axiom-cloudformation"
DEST_DIR: "/stacks"
DEST_DIR: "stacks"
run: aws s3 sync --acl public-read ./$SOURCE_DIR s3://$AWS_S3_BUCKET/$DEST_DIR
10 changes: 5 additions & 5 deletions cloudwatch-subscriber-axiom-cloudformation-stack.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Resources:
IncludeGlobalServiceEvents: true
IsMultiRegionTrail: true
IsLogging: true
S3BucketName: !Join ["-", [!Ref AWS::StackName, "axiom", "cloudtrail"]]
S3BucketName: !Ref AxiomCloudWatchLogsSubscriberS3Bucket
TrailName:
!Join ["-", [!Ref AWS::StackName, "axiom", { "Ref": "AWS::AccountId" }]]
!Join ["-", [!Ref AWS::StackName, { "Ref": "AWS::AccountId" }]]
AxiomLogsSubscriberEventRule:
DependsOn: AxiomCloudWatchLogsSubscriber
Type: AWS::Events::Rule
Expand All @@ -88,10 +88,10 @@ Resources:
eventName: ["CreateLogGroup"]
Name:
"Fn::Join":
["-", [{ "Ref": "AWS::StackName" }, "axiom-auto-subscription-rule"]]
["-", [{ "Ref": "AWS::StackName" }, "auto-subscription-rule"]]
Targets:
- Id:
!Join ["-", [!Ref "AWS::StackName", "axiom-auto-subscription-rule"]]
!Join ["-", [!Ref "AWS::StackName", "auto-subscription-rule"]]
Arn: !GetAtt ["AxiomCloudWatchLogsSubscriber", "Arn"]
AxiomCloudWatchLogsSubscriberPolicy:
Type: AWS::IAM::Policy
Expand All @@ -106,7 +106,7 @@ Resources:
- lambda:RemovePermission
Effect: Allow
Resource: "*"
PolicyName: axiom-cloudwatch-logs-subscriber-lambda-policy
PolicyName: cloudwatch-subscriber-axiom-policy
Roles:
- !Ref "AxiomCloudWatchLogsSubscriberRole"
AxiomCloudWatchLogsSubscriberRole:
Expand Down

0 comments on commit 6e0d479

Please sign in to comment.