Commit b161c2b1 authored by Jamie Tanna's avatar Jamie Tanna

Change erroneous `env`s to `export`s

As the previous code would not work, as `env` expects a command to run
with the specified environment variables.
parent 95bdf089
Pipeline #120300777 passed with stages
in 8 minutes and 20 seconds
......@@ -40,14 +40,14 @@ $ unset AWS_PROFILE && \
And now when we set the variable:
```
$ env AWS_PROFILE=spectat_prod_read_only && \
$ export AWS_PROFILE=spectat_prod_read_only && \
aws iam list-account-aliases
{
"AccountAliases": [
"spectat_prod"
]
}
$ env AWS_PROFILE=spectat_prod_read_only && \
$ export AWS_PROFILE=spectat_prod_read_only && \
ruby -raws-sdk -e 'p Aws::IAM::Client.new.list_account_aliases.to_h'
{:account_aliases=>["spectat_prod"], :is_truncated=>false}
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment