Skip to content

Commit 7f30697

Browse files
committed
Fix formatting
1 parent 19e0584 commit 7f30697

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

examples/basic/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ data "aws_subnet_ids" "all" {
1515

1616
data "aws_ami" "amazon_linux" {
1717
most_recent = true
18-
owners = ['amazon']
19-
18+
19+
owners = ["amazon"]
20+
2021
filter {
2122
name = "name"
2223

examples/volume-attachment/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,18 @@ $ terraform apply
1919
Note that this example may create resources which can cost money. Run `terraform destroy` when you don't need these resources.
2020

2121
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
22+
## Inputs
23+
24+
| Name | Description | Type | Default | Required |
25+
|------|-------------|:----:|:-----:|:-----:|
26+
| instances\_number | | string | `"1"` | no |
27+
2228
## Outputs
2329

2430
| Name | Description |
2531
|------|-------------|
2632
| ebs\_volume\_attachment\_id | The volume ID |
2733
| ebs\_volume\_attachment\_instance\_id | The instance ID |
28-
| instance\_id | EC2 instance ID |
29-
| instance\_public\_dns | Public DNS name assigned to the EC2 instance |
34+
| instances\_public\_ips | Public IPs assigned to the EC2 instance |
3035

3136
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/volume-attachment/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ provider "aws" {
22
region = "eu-west-1"
33
}
44

5+
variable "instances_number" {
6+
default = 1
7+
}
8+
59
##################################################################
610
# Data sources to get VPC, subnet, security group and AMI details
711
##################################################################

examples/volume-attachment/variables.tf

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

0 commit comments

Comments
 (0)