diff --git a/changelog.txt b/changelog.txt index e69de29bb..1385ce18b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -0,0 +1 @@ +feature - Adds region support for us-east4. \ No newline at end of file diff --git a/spec/function-builder.spec.ts b/spec/function-builder.spec.ts index 2ddbb40df..04575e28b 100644 --- a/spec/function-builder.spec.ts +++ b/spec/function-builder.spec.ts @@ -56,6 +56,7 @@ describe('FunctionBuilder', () => { .region( 'us-central1', 'us-east1', + 'us-east4', 'europe-west1', 'europe-west2', 'asia-east2', @@ -67,6 +68,7 @@ describe('FunctionBuilder', () => { expect(fn.__trigger.regions).to.deep.equal([ 'us-central1', 'us-east1', + 'us-east4', 'europe-west1', 'europe-west2', 'asia-east2', diff --git a/src/function-builder.ts b/src/function-builder.ts index 42de739eb..83e9a00b0 100644 --- a/src/function-builder.ts +++ b/src/function-builder.ts @@ -40,6 +40,7 @@ import { CloudFunction, EventContext, Schedule } from './cloud-functions'; const SUPPORTED_REGIONS = [ 'us-central1', 'us-east1', + 'us-east4', 'europe-west1', 'europe-west2', 'asia-east2',