diff --git a/README.md b/README.md
index cc3fabc..4607d33 100644
--- a/README.md
+++ b/README.md
@@ -147,7 +147,7 @@ Available targets:
|------|--------|---------|
| [iam\_label](#module\_iam\_label) | cloudposse/label/null | 0.24.1 |
| [logging\_label](#module\_logging\_label) | cloudposse/label/null | 0.24.1 |
-| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.3.1 |
+| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.4.0 |
| [this](#module\_this) | cloudposse/label/null | 0.24.1 |
## Resources
diff --git a/docs/terraform.md b/docs/terraform.md
index 0fd28d4..317e5e5 100644
--- a/docs/terraform.md
+++ b/docs/terraform.md
@@ -17,7 +17,7 @@
|------|--------|---------|
| [iam\_label](#module\_iam\_label) | cloudposse/label/null | 0.24.1 |
| [logging\_label](#module\_logging\_label) | cloudposse/label/null | 0.24.1 |
-| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.3.1 |
+| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.4.0 |
| [this](#module\_this) | cloudposse/label/null | 0.24.1 |
## Resources
diff --git a/main.tf b/main.tf
index de8131f..7bee004 100644
--- a/main.tf
+++ b/main.tf
@@ -81,7 +81,7 @@ resource "aws_eip" "sftp" {
module "security_group" {
source = "cloudposse/security-group/aws"
- version = "0.3.1"
+ version = "0.4.0"
use_name_prefix = var.security_group_use_name_prefix
rules = var.security_group_rules