Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Us east 1 region is being overwritten #39

Open
kldeb opened this issue Feb 13, 2025 · 0 comments · May be fixed by #40
Open

Us east 1 region is being overwritten #39

kldeb opened this issue Feb 13, 2025 · 0 comments · May be fixed by #40

Comments

@kldeb
Copy link

kldeb commented Feb 13, 2025

I believe this block of code from infra/regions.ts:

const providers = {} as Record<string, aws.Provider | undefined>;
for (const region of regions) {
  if (region === "us-east-1") {
    providers[region] = undefined;
  }
  providers[region] = new aws.Provider("Aws_" + region, {
    region: region as any,
  });
}

should be changed to:

const providers = {} as Record<string, aws.Provider | undefined>;
for (const region of regions) {
  if (region === "us-east-1") {
    providers[region] = undefined;
  } else {
    providers[region] = new aws.Provider("Aws_" + region, {
      region: region as any,
    });
  }
}

otherwise i'ts just being overwritten?

@kldeb kldeb linked a pull request Feb 13, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant