Open trois-six opened 3 years ago
Hello!,
Working on https://github.com/GoogleCloudPlatform/terraformer/pull/939, I discovered that a number of resources have bugs after import.
The provider should import all attributes, or at least the required attributes.
I encountered these bugs:
name
panos_management_profile
panos_ike_crypto_profile
panos_ike_gateway
panos_ipsec_crypto_profile
dynamic routes dist
ospfv3_ext_dist
panos_virtual_router
Objects
vsys
device_group
hip_profiles
panos_security_rule_group
destination|source
translated_packet
panos_nat_rule_group
Set these attributes on import.
$ terraform import ... ... $ terraform state show ...
Development of the Terraformer provider for panos. Dedicated commit to create workarounds for this issue: https://github.com/GoogleCloudPlatform/terraformer/pull/939/commits/4f5a6a8d9ff3d2ba0027dfa50c4f49d391f1c23b.
protocol import is missing in panos_ipsec_crypto_profile as well.
protocol
Any update on this?
Describe the bug
Hello!,
Working on https://github.com/GoogleCloudPlatform/terraformer/pull/939, I discovered that a number of resources have bugs after import.
Expected behavior
The provider should import all attributes, or at least the required attributes.
Current behavior
I encountered these bugs:
name
attribute missing after import:panos_management_profile
,panos_ike_crypto_profile
,panos_ike_gateway
,panos_ipsec_crypto_profile
dynamic routes dist
(ex:ospfv3_ext_dist
) are set to 0 by default instead of the default value inpanos_virtual_router
Objects
resources (common to the firewalls and Panorama) don’t have avsys
nor adevice_group
sethip_profiles
are not set inpanos_security_rule_group
destination|source
blocks are not set in thetranslated_packet
inpanos_nat_rule_group
if thedestination|source
is not modifiedPossible solution
Set these attributes on import.
Steps to reproduce
Context
Development of the Terraformer provider for panos. Dedicated commit to create workarounds for this issue: https://github.com/GoogleCloudPlatform/terraformer/pull/939/commits/4f5a6a8d9ff3d2ba0027dfa50c4f49d391f1c23b.