website/docs: Run terraform fmt on code examples (#12075)

* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
This commit is contained in:
George Christou
2017-02-18 22:48:50 +00:00
committed by Paul Stack
parent 1196114433
commit 61277c0dbd
619 changed files with 5178 additions and 4867 deletions

View File

@@ -18,14 +18,15 @@ in all regions - available regions are listed
```
resource "aws_codecommit_trigger" "test" {
depends_on = ["aws_codecommit_repository.test"]
repository_name = "my_test_repository"
trigger {
name = "noname"
events = ["all"]
destination_arn = "${aws_sns_topic.test.arn}"
depends_on = ["aws_codecommit_repository.test"]
repository_name = "my_test_repository"
trigger {
name = "noname"
events = ["all"]
destination_arn = "${aws_sns_topic.test.arn}"
}
}
}
```
## Argument Reference
@@ -37,4 +38,4 @@ The following arguments are supported:
* `destination_arn` - (Required) The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
* `custom_data` - (Optional) Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
* `branches` - (Optional) The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
* `events` - (Required) The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.
* `events` - (Required) The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.