-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(infra): fix the remaining terraform constant changes #331
Changes from all commits
63ab645
5f06c12
df75eb8
acbc063
3ca448e
815dcef
776b7c2
b9c9be2
6315a16
0de68a2
91abaa5
f8b5a75
635b66f
beefb25
5c34139
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,16 @@ export class DynamoDB extends Construct { | |
}, | ||
], | ||
}, | ||
lifecycle: { | ||
ignoreChanges: [ | ||
// Bug in terraform with DynamoDB and global secondary indexes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😮💨 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. from 2017? yikes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I linked it in the PR description so that it gets cross-referenced by gh |
||
// https://github.com/hashicorp/terraform-provider-aws/issues/671 | ||
// https://github.com/hashicorp/terraform-provider-aws/issues/671#issuecomment-346711738 | ||
'global_secondary_index', | ||
'read_capacity', | ||
'write_capacity', | ||
], | ||
}, | ||
}); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ export class ShareableListItemEvents extends Construct { | |
this, | ||
pagerDuty, | ||
this.snsTopicDlq.name, | ||
`${eventConfig.shareableList.name}-Rule-dlq-alarm`, | ||
`${eventConfig.shareableListItem.name}-Rule-dlq-alarm`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. type was causing the rule to keep changing nams cause one already existed with that name |
||
true, | ||
4, | ||
300, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly I couldn't find an orb to do this for us. But this script will take the Github Bot secrets and convert it to a regular access token like we already use, valid for 10 min.
i wish CircleCI let us ask for a github access token like Github Actions do, then this wouldnt be necessary 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, we can make this an orb of our own later?