File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ` .
You can’t perform that action at this time.
0 commit comments