I think the terraform aws provider does give it as an output, so it should be feasible in both
b
I think the terraform aws provider does give it as an output, so it should be feasible in both