website: Add note re: private_key configuration to intro (#24463)

This commit is contained in:
tuathail 2020-10-31 01:09:21 +00:00 committed by GitHub
parent 34549b402b
commit 33ee8a410c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@ cd terraform-provider-aws/examples/two-tier
```
You can then use your preferred code editor to browse and read the configurations.
Note that in this example, the connection block defaults to using a local SSH agent for authentication with the instance.
Therefore ensure that the appropriate private key has been added to the agent before running the below steps.
Alternatively, as can be seen in some of the other examples, the `private_key` argument can also be used.
To try out an example, run Terraform's init and apply commands while in the example's directory:
```