Update fastly provider

This commit is contained in:
Seth Vargo 2017-04-10 12:23:21 -04:00
parent cf550dfd78
commit 9bd2b38f2c
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
3 changed files with 10 additions and 10 deletions

View File

@ -6,13 +6,13 @@ description: |-
Get information on Fastly IP ranges.
---
# fastly\_ip_ranges
# fastly_ip_ranges
Use this data source to get the [IP ranges][1] of Fastly edge nodes.
## Example Usage
```
```hcl
data "fastly_ip_ranges" "fastly" {}
resource "aws_security_group" "from_fastly" {

View File

@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources.
## Example Usage
```
```hcl
# Configure the Fastly Provider
provider "fastly" {
api_key = "test"
@ -49,7 +49,7 @@ Fastly provider block:
Usage:
```
```hcl
provider "fastly" {
api_key = "test"
}
@ -67,7 +67,7 @@ You can provide your API key via `FASTLY_API_KEY` environment variable,
representing your Fastly API key. When using this method, you may omit the
Fastly `provider` block entirely:
```
```hcl
resource "fastly_service_v1" "myservice" {
# ...
}

View File

@ -6,7 +6,7 @@ description: |-
Provides an Fastly Service
---
# fastly\_service\_v1
# fastly_service_v1
Provides a Fastly Service, representing the configuration for a website, app,
API, or anything else to be served through Fastly. A Service encompasses Domains
@ -20,7 +20,7 @@ on their documentation site for guidance.
Basic usage:
```
```hcl
resource "fastly_service_v1" "demo" {
name = "demofastly"
@ -41,7 +41,7 @@ resource "fastly_service_v1" "demo" {
Basic usage with an Amazon S3 Website and that removes the `x-amz-request-id` header:
```
```hcl
resource "fastly_service_v1" "demo" {
name = "demofastly"
@ -89,7 +89,7 @@ Basic usage with [custom
VCL](https://docs.fastly.com/guides/vcl/uploading-custom-vcl) (must be
enabled on your Fastly account):
```
```hcl
resource "fastly_service_v1" "demo" {
name = "demofastly"
@ -322,7 +322,7 @@ The `sumologic` block supports:
* `name` - (Required) A unique name to identify this Sumologic endpoint.
* `url` - (Required) The URL to Sumologic collector endpoint
* `format` - (Optional) Apache-style string or VCL variables to use for log formatting. Defaults to Apache Common Log format (`%h %l %u %t %r %>s`)
* `format_version` - (Optional) The version of the custom logging format used for the configured endpoint. Can be either 1 (the default, version 1 log format) or 2 (the version 2 log format).
* `format_version` - (Optional) The version of the custom logging format used for the configured endpoint. Can be either 1 (the default, version 1 log format) or 2 (the version 2 log format).
* `response_condition` - (Optional) Name of already defined `condition` to apply. This `condition` must be of type `RESPONSE`. For detailed information about Conditionals, see [Fastly's Documentation on Conditionals][fastly-conditionals].
* `message_type` - (Optional) How the message should be formatted. One of: classic, loggly, logplex, blank. See [Fastly's Documentation on Sumologic][fastly-sumologic]