The google_compute_security_policy resource mixes up rules because of Set data structure behind it, which doesn't define elements order. Here is an example of the drift:
There is google_compute_security_policy_rule resource which manages rules independently. Does switching from policy inline rule blocks to separate resources fix ordering issues?
The
google_compute_security_policy
resource mixes up rules because ofSet
data structure behind it, which doesn't define elements order. Here is an example of the drift:There is
google_compute_security_policy_rule
resource which manages rules independently. Does switching frompolicy
inlinerule
blocks to separate resources fix ordering issues?