Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

env variable for access key and secret key in terraform

#Terraform env variable for provider AWS

$ export AWS_ACCESS_KEY_ID="anaccesskey"
$ export AWS_SECRET_ACCESS_KEY="asecretkey"
$ export AWS_DEFAULT_REGION="us-west-2"
$ terraform plan
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #env #variable #access #key #secret #key #terraform
ADD COMMENT
Topic
Name
3+7 =