diff --git a/README.md b/README.md
index 839b7e7..2416d05 100644
--- a/README.md
+++ b/README.md
@@ -241,7 +241,7 @@ Available targets:
|------|--------|---------|
| [label](#module\_label) | cloudposse/label/null | 0.24.1 |
| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.3.1 |
-| [ssh\_key\_pair](#module\_ssh\_key\_pair) | cloudposse/key-pair/aws | 0.18.0 |
+| [ssh\_key\_pair](#module\_ssh\_key\_pair) | cloudposse/key-pair/aws | 0.18.2 |
| [this](#module\_this) | cloudposse/label/null | 0.24.1 |
## Resources
diff --git a/docs/terraform.md b/docs/terraform.md
index fd58a0b..0432a77 100644
--- a/docs/terraform.md
+++ b/docs/terraform.md
@@ -18,7 +18,7 @@
|------|--------|---------|
| [label](#module\_label) | cloudposse/label/null | 0.24.1 |
| [security\_group](#module\_security\_group) | cloudposse/security-group/aws | 0.3.1 |
-| [ssh\_key\_pair](#module\_ssh\_key\_pair) | cloudposse/key-pair/aws | 0.18.0 |
+| [ssh\_key\_pair](#module\_ssh\_key\_pair) | cloudposse/key-pair/aws | 0.18.2 |
| [this](#module\_this) | cloudposse/label/null | 0.24.1 |
## Resources
diff --git a/main.tf b/main.tf
index b8d0a1b..08600ae 100644
--- a/main.tf
+++ b/main.tf
@@ -128,7 +128,7 @@ resource "aws_instance" "default" {
module "ssh_key_pair" {
source = "cloudposse/key-pair/aws"
- version = "0.18.0"
+ version = "0.18.2"
ssh_public_key_path = local.ssh_key_pair_path
private_key_extension = ".pem"
generate_ssh_key = var.generate_ssh_key_pair