Skip to content

Commit

Permalink
Merge pull request hashicorp#95 from amcbarnett/master
Browse files Browse the repository at this point in the history
Updated Ks Openshift Readme
  • Loading branch information
rberlind authored Apr 19, 2019
2 parents 1c267da + a3e3796 commit 7159be1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions infrastructure-as-code/k8s-cluster-openshift-aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ Execute the following commands to deploy your OpenShift cluster to AWS.
1. Set up the Vault AWS Secrets Engine following these commands:
```
vault secrets enable -path=aws-tf aws
vault write aws-tf/config/root \
access_key=<your_aws_access_key>
secret_key=<your_aws_secret_key>
access_key=<your_aws_access_key> \
secret_key=<your_aws_secret_key> \
region=us-east-1
vault write aws-tf/roles/deploy policy=-<<EOF
vault write aws-tf/roles/deploy policy_document=-<<EOF
{
"Version": "2012-10-17",
"Statement": [
Expand Down
1 change: 1 addition & 0 deletions infrastructure-as-code/k8s-cluster-openshift-aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ provider "aws" {
access_key = "${data.vault_aws_access_credentials.aws_creds.access_key}"
secret_key = "${data.vault_aws_access_credentials.aws_creds.secret_key}"
region = "${data.external.region.result["region"]}"
version = "~> 2.0"
}

# Create the OpenShift cluster using our module.
Expand Down

0 comments on commit 7159be1

Please sign in to comment.