Skip to content

[AWS::CloudFormation::Macro] - [Docs] - Cross Region lambdas not supported #2023

Open
@awsdiegorad

Description

@awsdiegorad

Name of the resource

AWS::CloudFormation::Macro

Resource name

No response

Reference Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html#template-macros-permissions

Details

The Lambda Function that is used for a Macro must be in the same region that the Macro is defined. You may create the Macro while pointing to a lambda function hosted on a different region, however all attempts to execute the Macro will fail with a "Failed to execute" error.

This is undocumented in the Macro and AWS::CloudFormation::Macro documentations.

Here is a stack overflow page that states this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions