Configures AWS EMR to block public access, with exceptions for specified port ranges (22 and 100-101).

Terraform Template

resource "aws_emr_block_public_access_configuration" "example" {
  block_public_security_group_rules = true

  permitted_public_security_group_rule_range {
    max_range = 22
    min_range = 22
  }

  permitted_public_security_group_rule_range {
    max_range = 101
    min_range = 100
  }
}