File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
infrastructure-as-code/k8s-cluster-openshift-aws Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,13 @@ Execute the following commands to deploy your OpenShift cluster to AWS.
42421 . Set up the Vault AWS Secrets Engine following these commands:
4343```
4444vault secrets enable -path=aws-tf aws
45+
4546vault 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": [
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments