The latest AMI on aws is 9.0.3.xfr - the panos terraform provider (or perhaps terraform in general) is not expecting alphabetical characters in the version 9.0.3.xfr in the os version, so will immediately fail on terraform state refresh.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Error: Error refreshing state: 1 error(s) occurred:
* provider.panos: Error parsing version 9.0.3.xfr: Improperly formatted version: 9.0.3.xfr
To re-produce simply attempt to use terraform on the latest AMI.
The latest AMI on aws is 9.0.3.xfr - the panos terraform provider (or perhaps terraform in general) is not expecting alphabetical characters in the version 9.0.3.xfr in the os version, so will immediately fail on terraform state refresh.
To re-produce simply attempt to use terraform on the latest AMI.