-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
implement resource tag api for cloudwatch logs #7389
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
Conversation
LocalStack integration with Pro 1 files - 1 1 suites - 1 1h 2m 58s ⏱️ - 14m 28s For more details on these failures, see this check. Results for commit e85e4ac. ± Comparison against base commit 39ec690. ♻️ This comment has been updated with latest results. |
4130d27
to
f350a59
Compare
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.
Awesome! A new set of operations. It's great to see how clean the implementations (provider and tests) are now with all our frameworks in place. 🚀
localstack/services/logs/models.py
Outdated
|
||
|
||
def get_moto_logs_backend(account_id: str = None, region_name: str = None) -> MotoLogsBackend: | ||
account_id = account_id or DEFAULT_AWS_ACCOUNT_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.
nit: I think using the DEFAULT_AWS_ACCOUNT_ID
might not be best practice anymore.
But I think this function is never called without an explicit region name or account ID, right?
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.
yes, you are right - we currently never call it without explicit region/account id. I will remove the defaults here, thanks :)
4b49136
to
960f0e7
Compare
960f0e7
to
e85e4ac
Compare
merging since test failures look unrelated |
This PR tackles the new API for resource tagging in cloudwatch logs, which was not yet implemented.
It is part of a fix for #7378.
The implementation relies on #7086 where the botocore/boto3 lib is upgraded.
The PR includes:
TODO