You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How does one use/reference externally-created resources? I've been digging through the repo, and looking at this post (https://aztfmod.github.io/documentation/docs/fundamentals/lz-composition/), but deploying CAF resources inside an existing resource group, or encrypting CAF-deployed storage with an externally created key, and other similar operations seem nearly impossible.
While it seems that the goal of CAF is to have a monolithic module, I also would like to break my deployment down into a couple of module calls, but referencing a resource from CAF module call A inside CAF module call B is... tricky.
Maybe I'm just doing it wrong, but I've been searching all over for a good way to do this, and it doesn't seem nearly as simple as the post suggests.
Does anyone have working sample code that would, for example, create an RG, key vault, and key in file A, and create storage and apply CMK in file B?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How does one use/reference externally-created resources? I've been digging through the repo, and looking at this post (https://aztfmod.github.io/documentation/docs/fundamentals/lz-composition/), but deploying CAF resources inside an existing resource group, or encrypting CAF-deployed storage with an externally created key, and other similar operations seem nearly impossible.
While it seems that the goal of CAF is to have a monolithic module, I also would like to break my deployment down into a couple of module calls, but referencing a resource from CAF module call A inside CAF module call B is... tricky.
Maybe I'm just doing it wrong, but I've been searching all over for a good way to do this, and it doesn't seem nearly as simple as the post suggests.
Does anyone have working sample code that would, for example, create an RG, key vault, and key in file A, and create storage and apply CMK in file B?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions