How do I use provider credentials in Scalr?

Credentials for Terraform providers can easily be set up by account admins and automatically declared as shell variables in chosen environments and workspaces

  • Account administrators configure cloud credentials in the account.

  • Link the credentials to the Environments. Each environment can have credentials for multiple providers, but only one set per provider.

  • Scalr automatically creates the required shell variables for each provider in every workspace in the environment.


Note that the variables are sensitive and the values are not exposed.

  • Provider blocks can now be configure without any credentials parameters.

provider "aws" {
  region     = var.aws_location

Related documentation : Provider Credentials