website: AWS Provider

This commit is contained in:
Armon Dadgar 2014-07-23 15:14:31 -04:00
parent 5065aff158
commit ae1fc27cc0
2 changed files with 35 additions and 2 deletions

View File

@ -6,5 +6,38 @@ sidebar_current: "docs-aws-index"
# AWS Provider
Foobar
The Amazon Web Services (AWS) provider is used to interact with the
many resources supported by AWS. The provider needs to be configured
with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
## Example Usage
```
# Configure the AWS Provider
provider "aws" {
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
region = "us-east-1"
}
# Create a web server
resource "aws_instance" "web" {
...
}
```
## Argument Reference
The following arguments are supported:
* `access_key` - (Required) This is the AWS access key. It must be provided, but
it can also be sourced from the `AWS_ACCESS_KEY` environment variable.
* `secret_key` - (Required) This is the AWS secret key. It must be provided, but
it can also be sourced from the `AWS_SECRET_KEY` environment variable.
* `region` - (Required) This is the AWS region. It must be provided, but
it can also be sourced from the `AWS_REGION` environment variables.

View File

@ -30,7 +30,7 @@ resource "aws_instance" "web" {
## Argument Reference
The following arugments are supported:
The following arguments are supported:
* `inline` - This is a list of command strings. They are executed in the order
they are provided. This cannot be provided with `script` or `scripts`.