Skip to content

Commit

Permalink
fix(aws): Change default region to us-east-1 (#666)
Browse files Browse the repository at this point in the history
Regional STS endpoints can be turned on or off, so there is no guarantee that us-west-2 is enabled. However, us-east-1 is special as it is the only regional endpoint that can't be turned off. This fixes the following error:

```
com.amazonaws.services.securitytoken.model.RegionDisabledException: STS is not activated in this region for account:01234567890. Your account administrator can activate STS in this region using the IAM Console.
```
  • Loading branch information
jervi authored Jun 9, 2024
1 parent 7693b96 commit 6b1c44d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import org.springframework.context.annotation.Import
@ComponentScan(basePackages = ["com.netflix.spinnaker.swabbie.aws"])
@Import(BastionConfig::class)
open class AwsConfiguration {
private val defaultRegion = "us-west-2" // TODO: (Jeyrs) Make configurable
private val defaultRegion = "us-east-1" // TODO: (Jeyrs) Make configurable

// AWS object mapper ensures edda and vanilla aws responses are the same
@Bean
Expand Down

0 comments on commit 6b1c44d

Please sign in to comment.