This is an example of how to provision resources in multiple aws accounts.
- Clone this repo
- create a file with your aws credentials in, should be named
main_access_key = "XXXXXXXXXXXXXXXXXXXX" main_secret_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" linked_access_key = "XXXXXXXXXXXXXXXXXXXX" linked_secret_key= "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" region = "eu-central-1"
terraform apply -var-file <path-to-aws-credentials-file>