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

[Functionbeat][Lambda] Support multiple regions #16935

Closed
Nyholm opened this issue Mar 10, 2020 · 3 comments · Fixed by #21065
Closed

[Functionbeat][Lambda] Support multiple regions #16935

Nyholm opened this issue Mar 10, 2020 · 3 comments · Fixed by #21065
Labels
candidate Candidate to be added to the current iteration Functionbeat good first issue Indicates a good issue for first-time contributors Team:Services (Deprecated) Label for the former Integrations-Services team

Comments

@Nyholm
Copy link

Nyholm commented Mar 10, 2020

When I deploy to a second region, I get an error like:

[fnbcloudwatchIAMRoleLambdaExecution] functionbeat-lambda-cloudwatch already exists

Which make sense. The role functionbeat-lambda-cloudwatch was created when I deployed the first region. AWS roles are global.

Suggestion: If the role exists, use it, dont error.

@andresrc andresrc added [zube]: Inbox Team:Services (Deprecated) Label for the former Integrations-Services team labels Mar 11, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@Nyholm
Copy link
Author

Nyholm commented Mar 11, 2020

I know that the serverless.com framework solves this by appending the role with the region.

functionbeat-lambda-cloudwatch-eu-west-1

@andresrc andresrc added good first issue Indicates a good issue for first-time contributors candidate Candidate to be added to the current iteration [zube]: Ready and removed [zube]: Inbox labels Mar 16, 2020
@ravinaik1312
Copy link
Contributor

I know that the serverless.com framework solves this by appending the role with the region.

functionbeat-lambda-cloudwatch-eu-west-1

That seems like a common pattern, I can send in a quick PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
candidate Candidate to be added to the current iteration Functionbeat good first issue Indicates a good issue for first-time contributors Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants