Skip to content

Commit 8bae778

Browse files
Raised version of module for ssh_key_pair (#16)
* Raised version of module for ssh_key_pair This module is pointing to version 0.9.0. However 0.9.0 can only be used with Terraform version 0.12. Result is that this module is broken in 0.12.x+ versions, as you can see in the error that i used with a terraform version 0.13.x: ``` Error: Unsupported Terraform Core version on .terraform/modules/instance.ssh_key_pair/versions.tf line 2, in terraform: 2: required_version = "~> 0.12.0" ``` In later versions of the ssh_key_pair module this is fixed, so i raised this version right up to the latest available. * Updated README.md Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com>
1 parent 85fab8c commit 8bae778

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ Available targets:
159159
160160
```
161161
<!-- markdownlint-restore -->
162+
<!-- markdownlint-disable -->
162163
## Requirements
163164

164165
| Name | Version |
@@ -254,6 +255,7 @@ Available targets:
254255
| security\_group\_ids | ID on the new AWS Security Group associated with creating instance |
255256
| ssh\_key\_pem\_path | Path where SSH key pair was created (if applicable) |
256257

258+
<!-- markdownlint-restore -->
257259

258260

259261

docs/terraform.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable -->
12
## Requirements
23

34
| Name | Version |
@@ -93,3 +94,4 @@
9394
| security\_group\_ids | ID on the new AWS Security Group associated with creating instance |
9495
| ssh\_key\_pem\_path | Path where SSH key pair was created (if applicable) |
9596

97+
<!-- markdownlint-restore -->

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ resource "aws_instance" "default" {
135135
##
136136

137137
module "ssh_key_pair" {
138-
source = "git::https://github.com/cloudposse/terraform-aws-key-pair.git?ref=tags/0.9.0"
138+
source = "git::https://github.com/cloudposse/terraform-aws-key-pair.git?ref=tags/0.14.0"
139139
namespace = var.namespace
140140
environment = var.environment
141141
stage = var.stage

0 commit comments

Comments
 (0)