Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
4d7426ec
Commit
4d7426ec
authored
6 years ago
by
Rong Zhang
Committed by
Matthew Mosesohn
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix terraform env Not effective (#2966)
Add TF_VAR_ to terraform env
parent
4092f96d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/terraform/aws/README.md
+4
-4
4 additions, 4 deletions
contrib/terraform/aws/README.md
with
4 additions
and
4 deletions
contrib/terraform/aws/README.md
+
4
−
4
View file @
4d7426ec
...
...
@@ -17,10 +17,10 @@ This project will create:
-
Export the variables for your AWS credentials or edit
`credentials.tfvars`
:
```
export AWS_ACCESS_KEY_ID="www"
export AWS_SECRET_ACCESS_KEY ="xxx"
export AWS_SSH_KEY_NAME="yyy"
export AWS_DEFAULT_REGION="zzz"
export
TF_VAR_
AWS_ACCESS_KEY_ID="www"
export
TF_VAR_
AWS_SECRET_ACCESS_KEY ="xxx"
export
TF_VAR_
AWS_SSH_KEY_NAME="yyy"
export
TF_VAR_
AWS_DEFAULT_REGION="zzz"
```
-
Rename
`contrib/terraform/aws/terraform.tfvars.example`
to
`terraform.tfvars`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment