- Newest
- Most votes
- Most comments
I apologize, but it is not possible to directly import resources from CloudFormation stacks across different AWS regions. CloudFormation does not support cross-region resource imports or cross-region stack references.
CloudFormation resource imports and cross-stack references are limited to resources within the same AWS account and region as the target stack. This means that you cannot directly reference or import resources from your secondary region (us-east-2) into stacks in your primary region (us-east-1).
To work around this limitation, you may need to consider alternative approaches:
-
Replicate the necessary resources in both regions independently.
-
Use a centralized configuration management system to store and share information between regions.
-
Implement custom solutions, such as using AWS Lambda functions or other AWS services, to retrieve and pass information between regions as needed.
-
Consider using AWS Systems Manager Parameter Store or AWS Secrets Manager to store and retrieve cross-region configuration values.
While these workarounds can help manage resources across regions, they do not provide direct cross-region stack references or imports within CloudFormation itself. Each region's resources would need to be managed separately in their respective CloudFormation stacks.
Sources
Import existing resources into a CloudFormation stack | AWS re:Post
Refer to resource outputs in another CloudFormation stack - AWS CloudFormation
Relevant content
- asked 8 months ago
- asked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago