Closed aminsindi closed 2 years ago
Hi @aminsindi,
Thanks for pointing this out! I was able to reproduce. Because this is an issue with the Lake Formation API, this will affect all AWS SDKs and tools. I'll be transferring this issue to our shared repository for such issues and sending an internal ticket to the Lake Formation team to address this. I'll let you know as soon as I have an update!
P52367089
The documentation for the DeleteLFTag API has since been updated for clarification and now says the following:
Deletes the specified LF-tag given a key name. If the input parameter tag key was not found, then the operation will throw an exception. When you delete an LF-tag, the
LFTagPolicy
attached to the LF-tag becomes invalid. If the deleted LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag will no longer be applied to the resource.
I'll go ahead and close this issue, if there are any further questions or feedback related to us please let us know. Thanks!
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug We are getting an issue with aws cli, when we try to delete and lf-tag. The docs says if tag is assigned to any resource, then it would not let us delete the tag.
SDK version number aws --version aws-cli/2.2.25 Python/3.9.6 Darwin/20.6.0 source/x86_64 prompt/off
Platform/OS/Hardware/Device MacOS Darwin FVFYR0CGHV2G 20.6.0 Darwin Kernel Version 20.6.0
To Reproduce (observed behavior)
Expected behavior Expected to be not allowed to delete the tag and instead throw an error.
Logs/output
Additional context