Skip to content

Commit 73ed852

Browse files
author
rohit-ng
committed
refactor: move locals to main
1 parent 1419b98 commit 73ed852

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

modules/github-runner/locals.tf

Lines changed: 0 additions & 5 deletions
This file was deleted.

modules/github-runner/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
locals {
2+
security_group_name_prefix = "github-runner-sg"
3+
ubuntu_instance_name = "github-runner"
4+
instance_type = "t2.micro"
5+
}
6+
17
resource "aws_instance" "github_runner" {
28
ami = var.ami_id
39
instance_type = local.instance_type

0 commit comments

Comments
 (0)