File tree 5 files changed +82
-9
lines changed
5 files changed +82
-9
lines changed Original file line number Diff line number Diff line change 1
- .terraform
2
- terraform.tfstate
3
- * .tfstate *
4
- terraform.tfvars
1
+ # Local .terraform directories
2
+ ** /.terraform /*
3
+
4
+ # Terraform lockfile
5
+ .terraform.lock.hcl
6
+
7
+ # .tfstate files
8
+ * .tfstate
9
+ * .tfstate. *
10
+
11
+ # Crash log files
12
+ crash.log
13
+
14
+ # Exclude all .tfvars files, which are likely to contain sentitive data, such as
15
+ # password, private keys, and other secrets. These should not be part of version
16
+ # control as they are data points which are potentially sensitive and subject
17
+ # to change depending on the environment.
18
+ * .tfvars
19
+
20
+ # Ignore override files as they are usually used to override resources locally and so
21
+ # are not checked in
22
+ override.tf
23
+ override.tf.json
24
+ * _override.tf
25
+ * _override.tf.json
26
+
27
+ # Ignore CLI configuration files
28
+ .terraformrc
29
+ terraform.rc
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : git://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.44 .0
3
+ rev : v1.46 .0
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_validate
21
21
- ' --args=--only=terraform_standard_module_structure'
22
22
- ' --args=--only=terraform_workspace_remote'
23
23
- repo : git://github.com/pre-commit/pre-commit-hooks
24
- rev : v3.3 .0
24
+ rev : v3.4 .0
25
25
hooks :
26
26
- id : check-merge-conflict
Original file line number Diff line number Diff line change @@ -105,6 +105,16 @@ data "aws_ami" "ubuntu-xenial" {
105
105
| ------| ---------|
106
106
| aws | >= 2.65 |
107
107
108
+ ## Modules
109
+
110
+ No Modules.
111
+
112
+ ## Resources
113
+
114
+ | Name |
115
+ | ------|
116
+ | [ aws_instance] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/instance ) |
117
+
108
118
## Inputs
109
119
110
120
| Name | Description | Type | Default | Required |
@@ -171,7 +181,6 @@ data "aws_ami" "ubuntu-xenial" {
171
181
| tags | List of tags of instances |
172
182
| volume\_ tags | List of tags of volumes of instances |
173
183
| vpc\_ security\_ group\_ ids | List of associated security groups of instances, if running in non-default VPC |
174
-
175
184
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
176
185
177
186
## Authors
Original file line number Diff line number Diff line change @@ -28,6 +28,30 @@ Note that this example may create resources which can cost money. Run `terraform
28
28
| ------| ---------|
29
29
| aws | >= 2.65 |
30
30
31
+ ## Modules
32
+
33
+ | Name | Source | Version |
34
+ | ------| --------| ---------|
35
+ | ec2 | ../../ | |
36
+ | ec2_with_metadata_options | ../../ | |
37
+ | ec2_with_network_interface | ../../ | |
38
+ | ec2_with_t2_unlimited | ../../ | |
39
+ | ec2_with_t3_unlimited | ../../ | |
40
+ | ec2_zero | ../../ | |
41
+ | security_group | terraform-aws-modules/security-group/aws | ~ > 3.0 |
42
+
43
+ ## Resources
44
+
45
+ | Name |
46
+ | ------|
47
+ | [ aws_ami] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/ami ) |
48
+ | [ aws_eip] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/eip ) |
49
+ | [ aws_kms_key] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/kms_key ) |
50
+ | [ aws_network_interface] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/network_interface ) |
51
+ | [ aws_placement_group] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/placement_group ) |
52
+ | [ aws_subnet_ids] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/subnet_ids ) |
53
+ | [ aws_vpc] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/vpc ) |
54
+
31
55
## Inputs
32
56
33
57
No input.
@@ -51,5 +75,4 @@ No input.
51
75
| t2\_ instance\_ id | EC2 instance ID |
52
76
| tags | List of tags |
53
77
| vpc\_ security\_ group\_ ids | List of VPC security group ids assigned to the instances |
54
-
55
78
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -32,6 +32,23 @@ Note that this example may create resources which can cost money. Run `terraform
32
32
| ------| ---------|
33
33
| aws | >= 2.65 |
34
34
35
+ ## Modules
36
+
37
+ | Name | Source | Version |
38
+ | ------| --------| ---------|
39
+ | ec2 | ../../ | |
40
+ | security_group | terraform-aws-modules/security-group/aws | ~ > 3.0 |
41
+
42
+ ## Resources
43
+
44
+ | Name |
45
+ | ------|
46
+ | [ aws_ami] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/ami ) |
47
+ | [ aws_ebs_volume] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/ebs_volume ) |
48
+ | [ aws_subnet_ids] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/subnet_ids ) |
49
+ | [ aws_volume_attachment] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/resources/volume_attachment ) |
50
+ | [ aws_vpc] ( https://registry.terraform.io/providers/hashicorp/aws/2.65/docs/data-sources/vpc ) |
51
+
35
52
## Inputs
36
53
37
54
| Name | Description | Type | Default | Required |
@@ -45,5 +62,4 @@ Note that this example may create resources which can cost money. Run `terraform
45
62
| ebs\_ volume\_ attachment\_ id | The volume ID |
46
63
| ebs\_ volume\_ attachment\_ instance\_ id | The instance ID |
47
64
| instances\_ public\_ ips | Public IPs assigned to the EC2 instance |
48
-
49
65
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
You can’t perform that action at this time.
0 commit comments