Skip to content

Commit 7159be1

Browse files
authored
Merge pull request hashicorp#95 from amcbarnett/master
Updated Ks Openshift Readme
2 parents 1c267da + a3e3796 commit 7159be1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

infrastructure-as-code/k8s-cluster-openshift-aws/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ Execute the following commands to deploy your OpenShift cluster to AWS.
4242
1. Set up the Vault AWS Secrets Engine following these commands:
4343
```
4444
vault secrets enable -path=aws-tf aws
45+
4546
vault write aws-tf/config/root \
46-
access_key=<your_aws_access_key>
47-
secret_key=<your_aws_secret_key>
47+
access_key=<your_aws_access_key> \
48+
secret_key=<your_aws_secret_key> \
4849
region=us-east-1
49-
vault write aws-tf/roles/deploy policy=-<<EOF
50+
51+
vault write aws-tf/roles/deploy policy_document=-<<EOF
5052
{
5153
"Version": "2012-10-17",
5254
"Statement": [

infrastructure-as-code/k8s-cluster-openshift-aws/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ provider "aws" {
3535
access_key = "${data.vault_aws_access_credentials.aws_creds.access_key}"
3636
secret_key = "${data.vault_aws_access_credentials.aws_creds.secret_key}"
3737
region = "${data.external.region.result["region"]}"
38+
version = "~> 2.0"
3839
}
3940

4041
# Create the OpenShift cluster using our module.

0 commit comments

Comments
 (0)