Skip to content

Commit ab953a7

Browse files
kpfleminggaylin
andauthored
Apply suggestions from code review
Co-authored-by: Gaylin Walli <[email protected]>
1 parent b394203 commit ab953a7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

templates/guides/fastly_object_storage.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module "fos" {
3535
}
3636
```
3737

38-
The second will need to be placed in a directory named `fos`, and
38+
The second will need to be placed in a directory named `fos` and
3939
named `fos/main.tf`:
4040

4141
```terraform
@@ -75,14 +75,15 @@ resource "aws_s3_bucket" "main" {
7575
7676
```
7777

78-
Note: This example uses the `us-east` region of Fastly Object Storage;
79-
if you wish to use a different region, ensure that the proper region
78+
Note: This example uses the `us-east` region of Fastly Object Storage.
79+
To use a different region, ensure that the proper region
8080
code is included in the `endpoints` block above.
8181

8282
## Getting Started
8383

8484
With the example files in place, you'll need to initialize Terraform
85-
and obtain Fastly Object Storage credentials.
85+
and obtain Fastly Object Storage credentials. To do this, run the following
86+
commands:
8687

8788
```bash
8889
export FASTLY_API_KEY=<your Fastly API key here>
@@ -91,22 +92,22 @@ terraform apply -target=fastly_object_storage_access_keys.main
9192
```
9293

9394
Note: Terraform will issue a warning because the `-target` option is
94-
used. This usage of that option is safe.
95+
used. This use of that option is safe.
9596

9697
This step will connect to the Fastly API using the Fastly Terraform
9798
provider and obtain a set of Fastly Object Storage credentials. Those
9899
credentials will be stored in the Terraform state files (or other
99-
state storage), they will not be displayed.
100+
state storage) and will not be displayed.
100101

101102
This initial step is necessary because the credentials are required by
102-
the AWS Terraform provider, and if Terraform attempts to apply the
103-
entire configuration the AWS provider will report an error because the
103+
the AWS Terraform provider. If Terraform attempts to apply the
104+
entire configuration without them, the AWS provider will report an error because the
104105
credentials are missing.
105106

106107
## Completing the Process
107108

108-
With the credentials obtained, a normal Terraform `apply` step can be
109-
used to create the remaining infrastructure; in this case a bucket in
109+
With the credentials obtained, a standard Terraform `apply` step can be
110+
used to create the remaining infrastructure; in this case, a bucket in
110111
Fastly Object Storage named `my-test-bucket-123`. Terraform will pass
111112
the Fastly Object Storage credentials to the AWS Terraform provider so
112113
that it can use them to authenticate its API interactions with the

0 commit comments

Comments
 (0)