Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

fix: Delete vended log groups in ci and non-prod #2361

Merged
merged 2 commits into from
Nov 25, 2022
Merged

Conversation

Jimlinz
Copy link
Contributor

@Jimlinz Jimlinz commented Nov 25, 2022

Vended log groups created by state-machine should be destroyed on stack teardown in ci and non prod environments. This is to keep the number of log groups manageable (especially since new log groups are created with each ci seed).

Vended log groups created by state-machine should be destroyed on stack teardown in ci and non prod environments. This is to keep the number of log groups manageable (especially since new log groups are created with each ci seed).
@Jimlinz Jimlinz requested review from l0b0 and AmrouEmad November 25, 2022 02:20
@Jimlinz Jimlinz marked this pull request as draft November 25, 2022 02:28
@@ -82,7 +83,7 @@ def __init__(
datasets_table: Table,
git_commit_parameter: aws_ssm.StringParameter,
) -> None:
# pylint: disable=too-many-locals, too-many-statements
# pylint: disable=too-many-locals, too-many-statements, too-complex
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this method should be pulled apart. Would you be OK to do that in a separate branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I was thinking the same!

@Jimlinz Jimlinz marked this pull request as ready for review November 25, 2022 03:10
@kodiakhq kodiakhq bot merged commit 75e1b32 into master Nov 25, 2022
@kodiakhq kodiakhq bot deleted the vendedlogs-cleanup branch November 25, 2022 03:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants