puppetlabs-toy-chest / puppetlabs-aws

Puppet module for managing AWS resources to build out infrastructure
Apache License 2.0
188 stars 216 forks source link

(maint) Add region validation for us-gov-west-1 (Amazon GovCloud) #486

Closed greglarkin closed 6 years ago

greglarkin commented 6 years ago

Expand the region validation regular expression to include the Amazon GovCloud "us-gov-west-1" region. If other GovCloud regions come online, it may make sense to generalize the matching a bit and include the "-gov" token earlier in the expression. This change will prevent a region like "us-gov-east-1" from matching.