Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
ehearneRedHat committed Jun 26, 2024
1 parent a32ed8a commit 43afa92
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ami-self-hosted-runner.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
variable instance_id {
description = "ID for EC2 instance (self-hosted-runner)"
type = string
}

data "aws_instance" "self_hosted_runner_instance" {
instance_id = var.instance_id
instance_id = var.self_hosted_runner.id
depends_on = [ aws_instance.self_hosted_runner ]
}

resource "aws_ami_from_instance" "self_hosted_runner_ami" {
Expand All @@ -19,4 +15,6 @@ resource "aws_ami_from_instance" "self_hosted_runner_ami" {
lifecycle {
prevent_destroy = true
}

depends_on = [ aws_instance.self_hosted_runner ]
}

Check failure on line 20 in ami-self-hosted-runner.tf

View workflow job for this annotation

GitHub Actions / EOF Newline

[EOF Newline] ami-self-hosted-runner.tf#L20

Missing newline
Raw output
ami-self-hosted-runner.tf:20: Missing newline

0 comments on commit 43afa92

Please sign in to comment.