Update fastly provider
This commit is contained in:
parent
cf550dfd78
commit
9bd2b38f2c
|
@ -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" {
|
||||
|
|
|
@ -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" {
|
||||
# ...
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue