Skip to content
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

Adding IAM permissions for new Firehose stream #35942

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

daynew
Copy link
Member

@daynew daynew commented Jul 22, 2020

Adds the new Firehose stream to our IAM permissions list. This stream supports the new i18n String : URL tracking feature.

Links

Testing story

  • Grepped the codebase for existing usages of deliverystream/analysis-events

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@@ -203,6 +203,7 @@ Resources:
Resource:
# TODO provide this ARN through a CloudFormation stack output resource reference.
- !Sub "arn:aws:firehose:${AWS::Region}:${AWS::AccountId}:deliverystream/analysis-events"
- !Sub "arn:aws:firehose:${AWS::Region}:${AWS::AccountId}:deliverystream/i18n-string-tracking-events"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this Role resource is used by an old/obsolete Lambda function and doesn't need to be updated, (but wouldn't do any harm to do so either).

Resource: !Sub "arn:aws:firehose:${AWS::Region}:${AWS::AccountId}:deliverystream/analysis-events"
Resource:
- !Sub "arn:aws:firehose:${AWS::Region}:${AWS::AccountId}:deliverystream/analysis-events"
- !Sub "arn:aws:firehose:${AWS::Region}:${AWS::AccountId}:deliverystream/i18n-string-tracking-events"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Noting the TODO above) ideally we would create this delivery stream as a resource in the application stack and add a stack reference to the resource's ARN directly, but if it's already been manually created it's fine to just make a manual reference here to unblock this work and we can follow up on importing the resource later.

@daynew daynew force-pushed the update-iam-with-i18n-stream branch from c3bf6cf to ab2a7ff Compare July 22, 2020 19:41
@daynew daynew merged commit d73e3f8 into staging Jul 22, 2020
@daynew daynew deleted the update-iam-with-i18n-stream branch July 22, 2020 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants