EBS Public Snapshot Setting

I am trying to block EBS Public Snapshot settings that are located in the EC2 settings.
I see on the github that “aws_ebs_snapshot_block_public_access” was added as a new resource here: New resource aws_ebs_snapshot_lock by obounaim · Pull Request #37436 · hashicorp/terraform-provider-aws · GitHub
But when I search for it in the AWS Provider documentation or try to use this resource block it does not show as a valid resource.

any idea on how to use this resource or disable the EBS public snapshot settings?

The PR you referred to hasn’t been merged and thus not yet available for use. You can upvote the PR so that it gets prioritized and integrated into a new release soon.

Thanks!

I upvoted it, it has been over 6 months since AWS released this feature.
Hope it can be added soon.