-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore(nat-gateway): Add nat_gateway_tags_per_az variable for NAT gateways #1140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
chore(nat-gateway): Add nat_gateway_tags_per_az variable for NAT gateways #1140
Conversation
058dbba
to
cba7cea
Compare
@bryantbiggs @antonbabenko Sorry for tagging you directly, but would it be possible to have a review here? 🙏🏻 |
why is this a useful change, what motivates a specific tag per NAT? |
@bryantbiggs Extremely useful for cost observability reasons (at least in our case, we can know what volume of traffic is going through each of our NATs and correlate that with the workloads living there, by using Cost Reports with Tag dimension). |
but you know the NAT gateway IDs and can use that to correlate, no? this sounds like a side effect of cross-AZ traffic which I don't see the benefit of taking on such complexity in this module for this peculiar case |
By using common tags across resources we can do what I describe above. I am not sure why or how this feature brings the complexity you mention, given that the info we need is already there and we just utilize it. Indeed it made things pretty clear for us regarding Cross AZ traffic costs. If you have better alternatives to suggest, we would love to investigate them! |
cba7cea
to
8c62508
Compare
For us, this helps align the naming convention we're using for various AWS resources. While for our use case all other resources we need can either have their name changed, or have relevant workarounds already in place in the module (subnet prefixes, tag overwrites, etc.), the NAT Gateways are the only one without an easy workaround. It also helps with the billing mentioned above to make it more human readable than IDs. |
This PR has been automatically marked as stale because it has been open 30 days |
Not a stale PR |
This PR has been automatically marked as stale because it has been open 30 days |
55f638b
to
26c8110
Compare
This PR has been automatically marked as stale because it has been open 30 days |
26c8110
to
1f18f74
Compare
1f18f74
to
109cad8
Compare
Description
Adding
nat_gateway_tags_per_az
variable for NAT gatewaysMotivation and Context
It is useful for cost related reports to be able to tag NAT gateways per AZ.
Breaking Changes
No
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request