Replace AWS Provider sections with link from terraform.io

This commit is contained in:
Sathiya Shunmugasundaram 2015-06-01 08:03:05 -04:00
parent 7f619db0e5
commit 60d34ae940
2 changed files with 3 additions and 31 deletions

View File

@ -6,22 +6,7 @@ and let you scale resources by simply incrementing a number.
Additionally, variables can be used to expand a list of resources Additionally, variables can be used to expand a list of resources
for use elsewhere. for use elsewhere.
To run, set the environment variables as below with correct values To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_DEFAULT_REGION="..."
Alternatively, you can configure the provider configuration where you invoke the module.
For example, you can use section similar to below.
# Specify the provider and access details
provider "aws" {
region = "${var.aws_region}"
access_key = "${var.access_key}"
secret_key = "${var.secret_key}"
}
Running the example Running the example

View File

@ -14,22 +14,9 @@ After you run `terraform apply` on this configuration, it will
automatically output the DNS address of the ELB. After your instance automatically output the DNS address of the ELB. After your instance
registers, this should respond with the default nginx web page. registers, this should respond with the default nginx web page.
To run, set the environment variables as below with correct values To run, configure your AWS provider as described in
export AWS_ACCESS_KEY_ID="..." https://www.terraform.io/docs/providers/aws/index.html
export AWS_SECRET_ACCESS_KEY="..."
export AWS_DEFAULT_REGION="..."
Alternatively, you can configure the provider configuration where you invoke the module.
For example, you can use section similar to below.
# Specify the provider and access details
provider "aws" {
region = "${var.aws_region}"
access_key = "${var.access_key}"
secret_key = "${var.secret_key}"
}
Running the example Running the example