humanmade / cf-to-tf

CLI tool for generating Terraform configuration and state for existing CloudFormation resources
Other
416 stars 70 forks source link

Missing required but undoc'd config step results in "Missing region in config" #19

Open rulatir opened 4 years ago

rulatir commented 4 years ago

Please document how to specify that missing region!

tmeinlschmidt commented 3 years ago

either use

I agree this should be in docs

antoinethebuilder commented 3 years ago

Personally, the only way I could make it work was by setting the environment variables:

export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_DEFAULT_REGION=

Setting AWS_CONFIG_FILE and AWS_SDK_LOAD_CONFIG was not helping on my side.