full-lamp-6426512/07/2023, 10:08 AM
- but I want to get data from foo-shared to foo env, is the best option to just use stack references?
dry-keyboard-9479512/07/2023, 10:14 AM
great-sunset-35512/07/2023, 2:05 PM
functions with the parameters known from the library.
This way you can have constant eg.
and then you can
The benefit of this approach is sharing more complex objects is easier.
Also prevents outdated stack references
const role = aws.iam.getRole(AWS_ROLE_NAME)
dry-keyboard-9479512/07/2023, 2:08 PM
method to load the rest of the data for the stack to use
great-sunset-35512/07/2023, 2:12 PM
method it is very different from
and can lead to side effects
dry-keyboard-9479512/07/2023, 2:13 PM