How to pass a variable value from read to modifyPlan function instead of by terraform state

I am wondering is there a way to pass a variable value from terraform read function to modifyPlan function ? I won’t want to pass variable by terraform state, can I achieve it by context ?

Hi @shufanhao,

It’s not 100% clear what you are asking here. Can you explain further and, if possible, even provide an example?