Skip to content

Commit

Permalink
fix: user-data
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie-A committed Oct 26, 2024
1 parent ab89acb commit e5ffdd7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ resource "aws_instance" "web_server" {
instance_type = "t2.micro"
vpc_security_group_ids = [aws_security_group.instance.id]
key_name = aws_key_pair.ssh-key.key_name
user_data = <<-EOF
#!/bin/bash
mkdir myapp
cd myapp
apt update -y
apt install docker.io -y
EOF
user_data_replace_on_change = true
tags = {
Name = "mox"
}
Expand Down

0 comments on commit e5ffdd7

Please sign in to comment.