Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.29 KB

NOTE: This repo contains only the documentation for the private BoltsOps repo code. Original file: https://github.com/boltops-learn/terraspace-restricting-regions/blob/master/README.md The docs are publish so they are available for interested subscribers. For access to the source code, you can become a BoltOps subscriber. See: https://learn.boltops.com

Terraspace Restricting Regions

BoltOps Learn Badge

BoltOps Badge

An example Terraspace project to show how to restrict the regions that can be deployed:

config/app.rb

Terraspace.configure do |config|
  config.allow.regions = ["us-west-2"]
  # config.deny.regions = ["us-east-1"]
end

Usage

Uncomment the examples in config/app.rb and run:

AWS_REGION=us-west-2 terraspace up stack1
AWS_REGION=us-east-1 terraspace up stack1

Video

Watch the video

Note: Premium video content requires a subscription.