Created
February 25, 2021 12:44
-
-
Save bhcopeland/1de34e6d15a74c6af75563aec0d179d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/gitlab-runner/main.tf b/gitlab-runner/main.tf | |
| index 67f4c0c..310a50d 100644 | |
| --- a/gitlab-runner/main.tf | |
| +++ b/gitlab-runner/main.tf | |
| @@ -398,6 +398,18 @@ resource "aws_instance" "lkft-gitlab-runner-manager" { | |
| } | |
| } | |
| +resource "aws_instance" "lkft-gitlab-runner-manager-large" { | |
| + ami = "ami-0f09eaf66dffb40fd" #data.aws_ami.ubuntu-arm64.id | |
| + instance_type = "t4g.micro" | |
| + iam_instance_profile = "gitlab_runner_manager_instance_profile" | |
| + subnet_id = aws_subnet.lkft-subnet.id | |
| + vpc_security_group_ids = [ aws_security_group.lkft-sg.id ] | |
| + key_name = var.ami_key_pair_name | |
| + tags = { | |
| + Name = "lkft Gitlab runner manager (large builders)" | |
| + } | |
| +} | |
| + | |
| resource "aws_eip" "lkft-gitlab-runner-manager-ip" { | |
| instance = aws_instance.lkft-gitlab-runner-manager.id | |
| vpc = true | |
| @@ -410,3 +422,11 @@ resource "aws_route53_record" "lkft-gitlab-runner-manager-dns" { | |
| ttl = "60" | |
| records = [aws_eip.lkft-gitlab-runner-manager-ip.public_ip] | |
| } | |
| + | |
| +resource "aws_route53_record" "lkft-gitlab-runner-manager-dns-large" { | |
| + zone_id = var.route53_zone_id | |
| + name = "gitlab-runner-manager-large" | |
| + type = "A" | |
| + ttl = "60" | |
| + records = [aws_eip.lkft-gitlab-runner-manager-ip.public_ip] | |
| +} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment