scopely-devops / skew

Apache License 2.0
243 stars 70 forks source link

Fix cloudwatch-alarm arn pattern #156

Closed tobHai closed 4 years ago

tobHai commented 4 years ago

Hi, this PR fixes wrong cloudwatch alarm ARNs. The whole ARN was appended again to the arn string due to id = 'AlarmArn'. Correct ARN pattern is: arn:aws:cloudwatch:REGION:ACCOUNT_ID:alarm:ALARM_NAME Therefore those changes also override the ARN property provided in the Resource class ( to remove the /)