Skip to content

Commit

Permalink
Merge pull request #321 from hashicorp/IL-675-patch
Browse files Browse the repository at this point in the history
Updating exercise files to use Ubuntu 2204
  • Loading branch information
gcastill0 committed Jun 26, 2023
2 parents 786f41c + 497c9f5 commit 91f27f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions exercises/main.tf.completed
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ data "aws_ami" "ubuntu" {

filter {
name = "name"
#values = ["ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"]
}

filter {
Expand Down Expand Up @@ -184,7 +183,7 @@ resource "null_resource" "configure-cat-app" {
}

resource "tls_private_key" "hashicat" {
algorithm = "RSA"
algorithm = "ED25519"
}

locals {
Expand Down
5 changes: 2 additions & 3 deletions exercises/main.tf.cowsay
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ data "aws_ami" "ubuntu" {

filter {
name = "name"
#values = ["ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"]
}

filter {
Expand Down Expand Up @@ -186,7 +185,7 @@ resource "null_resource" "configure-cat-app" {
}

resource "tls_private_key" "hashicat" {
algorithm = "RSA"
algorithm = "ED25519"
}

locals {
Expand Down
5 changes: 2 additions & 3 deletions exercises/main.tf.start
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ resource "aws_vpc" "hashicat" {

# filter {
# name = "name"
# #values = ["ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-*"]
# values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"]
# values = ["ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"]
# }

# filter {
Expand Down Expand Up @@ -184,7 +183,7 @@ resource "aws_vpc" "hashicat" {
# }

# resource "tls_private_key" "hashicat" {
# algorithm = "RSA"
# algorithm = "ED25519"
# }

# locals {
Expand Down

0 comments on commit 91f27f9

Please sign in to comment.