Skip to content

Commit

Permalink
docs: Add example usage of security_group_rules (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
strangeman authored Mar 22, 2024
1 parent 5ee6eeb commit e81748b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ module "opensearch" {
}
}

# Security Group rule example
security_group_rules = {
ingress_443 = {
type = "ingress"
description = "HTTPS access from VPC"
from_port = 443
to_port = 443
ip_protocol = "tcp"
cidr_ipv4 = local.vpc_cidr
}
}

# Access policy
access_policy_statements = [
{
Expand Down

0 comments on commit e81748b

Please sign in to comment.