File tree Expand file tree Collapse file tree 8 files changed +40
-6
lines changed
examples/gitlab-shell-runner-setup Expand file tree Collapse file tree 8 files changed +40
-6
lines changed Original file line number Diff line number Diff line change 11.idea /
22terraform.tfstate *
33.terraform *
4- examples /terraform.tfstate *
5- examples /.terraform *
6- .infracost /
4+ examples /gitlab-shell-runner-setup /terraform.tfstate *
5+ examples /gitlab-shell-runner-setup.terraform *
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ module "gitlab_shell_runner" {
1919}
2020```
2121
22+ ## Examples
23+
24+ [ Example] ( examples/gitlab-shell-runner-setup )
25+
2226
2327<!-- BEGIN_TF_DOCS -->
2428## Requirements
Original file line number Diff line number Diff line change 1+ <!-- BEGIN_TF_DOCS -->
2+ ## Requirements
3+
4+ | Name | Version |
5+ | ------| ---------|
6+ | <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | ~ > 1.3.0 |
7+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | ~ > 4.49.0 |
8+
9+ ## Providers
10+
11+ No providers.
12+
13+ ## Modules
14+
15+ | Name | Source | Version |
16+ | ------| --------| ---------|
17+ | <a name =" module_gitlab_shell_runner " ></a > [ gitlab\_ shell\_ runner] ( #module\_ gitlab\_ shell\_ runner ) | ../../ | n/a |
18+
19+ ## Resources
20+
21+ No resources.
22+
23+ ## Inputs
24+
25+ No inputs.
26+
27+ ## Outputs
28+
29+ No outputs.
30+ <!-- END_TF_DOCS -->
Original file line number Diff line number Diff line change 11module "gitlab_shell_runner" {
2- source = " ../"
2+ source = " ../../ "
33
4- ami_id = " ami-0addfae420fd47aab"
5- instance_type = " t2.micro"
4+ instance_type = " t2.medium"
65 instance_count = 2
76 vpc_security_group_ids = [" sg-0b0b0b0b0b0b0b0b0" ]
87 subnet_id = " subnet-0b0e1c4b5b1b1b1b1"
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ variable "ami_id" {
77variable "instance_type" {
88 description = " Type of instance to provision"
99 type = string
10+ default = " t2.micro"
1011}
1112
1213variable "instance_count" {
1314 description = " Number of instances to provision"
1415 type = number
16+ default = 1
1517}
1618
1719variable "vpc_security_group_ids" {
You can’t perform that action at this time.
0 commit comments