locals { environment = terraform.workspace != "" ? terraform.workspace : "test" } terraform { backend "s3" { bucket = "banditlair-k8s-tfstate" key = "banditlair.tfstate" region = "nl-ams" endpoint = "https://s3.nl-ams.scw.cloud" profile = "default" skip_credentials_validation = true skip_region_validation = true } } provider "scaleway" { region = var.region }