Skip to content

Commit ae1fc27

Browse files
committed
website: AWS Provider
1 parent 5065aff commit ae1fc27

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

website/source/docs/providers/aws/index.html.markdown

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,38 @@ sidebar_current: "docs-aws-index"
66

77
# AWS Provider
88

9-
Foobar
9+
The Amazon Web Services (AWS) provider is used to interact with the
10+
many resources supported by AWS. The provider needs to be configured
11+
with the proper credentials before it can be used.
12+
13+
Use the navigation to the left to read about the available resources.
14+
15+
## Example Usage
16+
17+
```
18+
# Configure the AWS Provider
19+
provider "aws" {
20+
access_key = "${var.aws_access_key}"
21+
secret_key = "${var.aws_secret_key}"
22+
region = "us-east-1"
23+
}
24+
25+
# Create a web server
26+
resource "aws_instance" "web" {
27+
...
28+
}
29+
```
30+
31+
## Argument Reference
32+
33+
The following arguments are supported:
34+
35+
* `access_key` - (Required) This is the AWS access key. It must be provided, but
36+
it can also be sourced from the `AWS_ACCESS_KEY` environment variable.
37+
38+
* `secret_key` - (Required) This is the AWS secret key. It must be provided, but
39+
it can also be sourced from the `AWS_SECRET_KEY` environment variable.
40+
41+
* `region` - (Required) This is the AWS region. It must be provided, but
42+
it can also be sourced from the `AWS_REGION` environment variables.
1043

website/source/docs/provisioners/remote-exec.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resource "aws_instance" "web" {
3030

3131
## Argument Reference
3232

33-
The following arugments are supported:
33+
The following arguments are supported:
3434

3535
* `inline` - This is a list of command strings. They are executed in the order
3636
they are provided. This cannot be provided with `script` or `scripts`.

0 commit comments

Comments
 (0)