Why is datadog-configuration in the global stack? #21
Replies: 2 comments 5 replies
-
The reason for this is because we want a consistent way to lookup the datadog configuration component via remote state. When we deploy datadog configuration to global region, it has a consistent environment, but a differing region per implementation. For example, it is deployed to This is useful for the remote state lookup which can then use The other nice thing about global'ly defined components is they make it known that it should only deployed once. As opposed to having multiple datadog configurations which would pollute the stacks and confuse on "which one should I use"
First I'd validate that your |
Beta Was this translation helpful? Give feedback.
-
I am using datadog-lambda forwarders in the ue1 and uw2 regions and since I deployed the datadog api keys and configuration in our global stack (defaulting to uw2) and the key to auto/uw2, I have been experiencing drift and ssm access errors.
For example I have a datadog lambda forwarder for vpc-flow-logs in ue1 and while the datadog client is trying to access the ssm that it thinks exists in ue1 the policy and the actual key are in uw2 and I don't see any way to change that aside from modifying the TF itself.
I was wondering what the motivation for moving to the global stack is? And how should I migrate from the previous regional paradigm?
Beta Was this translation helpful? Give feedback.
All reactions