terraform: first stab at read/write of state