CloudSnorkel / CloudWatch2S3

Logging infrastructure for exporting all CloudWatch logs from multiple accounts to a single S3 bucket
MIT License
48 stars 26 forks source link

Set exports for CloudWatch2S3 outputs #17

Closed zaro0508 closed 2 years ago

zaro0508 commented 2 years ago

The CloudWatch2S3-additional-account template has some dependencies on resources created from the CloudWatch2S3 template. However the Outputs in CloudWatch2S3 do not contain exports therefore it cannot be referenced across stacks. It would be great if exports were defined for the Outputs.

kichik commented 2 years ago

That template is meant to be used in different accounts. You can't use stack exports across accounts.

zaro0508 commented 2 years ago

We deploy our templates with org-formation and that tool has a feature, CopyValue, that allows us to reference stack exports across AWS accounts.

kichik commented 2 years ago

Oh that's pretty cool. I never heard of that.