We'll show you how to restrict the AWS regions that are allowed to be deployed to with Terraspace. Note, this check is only at the Terraspace level.
config/app.rb
Terraspace.configure do |config|
# ..
config.allow.regions = ["us-west-2", "us-east-1"]
end
Links
- Terraspace Docs: Restricting Regions
- GitHub Repo: boltops-learn/terraspace-restricting-regions
Terraspace Fundamentals
2h 30m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day