Skip to content

Commit 05e415d

Browse files
committed
Update variable defaults
1 parent c8d844a commit 05e415d

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 -->

examples/gitlab-shell-runner-setup/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
module "gitlab_shell_runner" {
22
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"

variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ variable "ami_id" {
77
variable "instance_type" {
88
description = "Type of instance to provision"
99
type = string
10+
default = "t2.micro"
1011
}
1112

1213
variable "instance_count" {
1314
description = "Number of instances to provision"
1415
type = number
16+
default = 1
1517
}
1618

1719
variable "vpc_security_group_ids" {

0 commit comments

Comments
 (0)