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

[enhancement] Use name_prefix for cloudwatch log group to avoid namespace collisions #111

Closed
sblack4 opened this issue Oct 14, 2020 · 3 comments · May be fixed by #157
Closed

[enhancement] Use name_prefix for cloudwatch log group to avoid namespace collisions #111

sblack4 opened this issue Oct 14, 2020 · 3 comments · May be fixed by #157
Labels

Comments

@sblack4
Copy link

sblack4 commented Oct 14, 2020

name = "/aws/lambda/${var.lambda_function_name}"

We already have another similarly named group and so I get this error.

Error: Creating CloudWatch Log Group failed: ResourceAlreadyExistsException: The specified log group already exists:  The CloudWatch Log Group '/aws/lambda/notify_slack' already exists.

This can be avoided by using a name_prefix, https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_group#name_prefix

@github-actions
Copy link

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@github-actions github-actions bot added the stale label Jan 11, 2022
@bryantbiggs
Copy link
Member

duplicate #104

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants