Skip to content

Commit 0353d04

Browse files
author
Roman Snapko
committed
Make Region property optional in Build ARN action
1 parent 9825637 commit 0353d04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/blocks/aws/src/lib/actions/arn/build-arn-action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const buildArnAction = createAction({
1515
}),
1616
region: Property.ShortText({
1717
displayName: 'Region',
18-
required: true,
18+
required: false,
1919
}),
2020
accountId: Property.ShortText({
2121
displayName: 'Account ID',
@@ -33,7 +33,7 @@ export const buildArnAction = createAction({
3333
service,
3434
accountId,
3535
resource: resourceId,
36-
region,
36+
region: region ?? '',
3737
});
3838

3939
return arn;

0 commit comments

Comments
 (0)