We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0af668 commit 08f4c46Copy full SHA for 08f4c46
packages/amplify-codegen-e2e-tests/src/cleanup-e2e-resources.ts
@@ -177,6 +177,7 @@ const getRegionsEnabled = async (accountInfo: AWSAccountInfo): Promise<string[]>
177
// Specify service region to avoid possible endpoint unavailable error
178
const account = new Account({ ...accountInfo, region: 'us-east-1' });
179
const response = await account.listRegions().promise();
180
+ console.log(response);
181
const enabledRegions = response.Regions.map(r =>
182
r.RegionOptStatus === 'ENABLED' || r.RegionOptStatus === 'ENABLED_BY_DEFAULT' ? r.RegionName : null,
183
).filter(Boolean);
0 commit comments