You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm configuring a physical interface with a comment which contains a space (eg. "P2P Link")
I'm applying the change, then re-applying or running terraform plan
I'm getting this output:
# module.cpgw01.checkpoint_physical_interface.physical_eth2 will be updated in-place
~ resource"checkpoint_physical_interface""physical_eth2" {
~ comments="{P2P Link}"->"P2P Link"id="eth2"name="eth2"# (12 unchanged attributes hidden)
}
Trying to dig into it, I found that the terraform.tfstate file is storing the comments which contains a space within the braces. Comments which do not contains a space are stored as-is.
E.g.:
I'm configuring a physical interface with a comment which contains a space (eg. "P2P Link")
I'm applying the change, then re-applying or running
terraform plan
I'm getting this output:
Trying to dig into it, I found that the terraform.tfstate file is storing the comments which contains a space within the braces. Comments which do not contains a space are stored as-is.
E.g.:
Is this done on purpose, to prevent a different issue? Or can it be fixed, and clean up a bit the output?
The text was updated successfully, but these errors were encountered: