-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Plan Result (account-delete-monitor-cdk)
|
Plan Result (sendgrid-data-cdk)
|
Plan Result (account-data-deleter-cdk)
|
Plan Result (transactional-emails-cdk)
|
Plan Result (pocket-event-bridge-cdk)
|
Plan Result (shareable-lists-api-cdk)
|
Plan Result (fxa-webhook-proxy-cdk)
|
Plan Result (annotations-api-cdk)
|
5629b20
to
8e4612c
Compare
8e4612c
to
c403588
Compare
c403588
to
f8b5a75
Compare
- run: | ||
name: Get Github Bot Token | ||
command: | | ||
app_id=$GITHUB_APP_ID |
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?
@@ -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 comment
The 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
@@ -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 comment
The 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 comment
The 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 comment
The 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
🎉 This PR is included in version @pocket-tools/terraform-modules-v5.9.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Goal
Cleanup some remaining infrastructure things.
Move away from pocket-ci to a real Github App Bot (allows us to filter out Bot comments/etc) (all future comments will be by it)
Fix shared lists event rule
Fix dynamodb changing the global secondary index (No method to ignore changes in DynamoDB GSI hashicorp/terraform-provider-aws#671)