diff --git a/website/docs/r/security_group.html.markdown b/website/docs/r/security_group.html.markdown
index 34233b86d1f5..acca97efb58e 100644
--- a/website/docs/r/security_group.html.markdown
+++ b/website/docs/r/security_group.html.markdown
@@ -33,7 +33,7 @@ resource "aws_security_group" "allow_tls" {
# TLS (change to whatever ports you need)
from_port = 443
to_port = 443
- protocol = "-1"
+ protocol = "tcp"
# Please restrict your ingress to only necessary IPs and ports.
# Opening to 0.0.0.0/0 can lead to security vulnerabilities.
cidr_blocks = # add a CIDR block here