Skip to content

Commit

Permalink
refactor: removed template for user data
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmanbazran committed Oct 29, 2024
1 parent 86c9dfb commit 04431c9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -502,13 +502,6 @@ resource "aws_s3_object" "file_upload" {
content = each.value
}

resource "aws_s3_object" "upload_template" {
bucket = aws_s3_bucket.s3_terraform_state.bucket
key = "user-data-template/template.sh"
content_type = "text/plain"
source = "${path.module}/user_data/template.sh"
}

resource "aws_key_pair" "admin_key" {
key_name = "admin_key"
public_key = var.public_key
Expand Down

0 comments on commit 04431c9

Please sign in to comment.