After running terraform apply, you may encounter conflicting configuration errors in the generated config file. Here's how I fixed them:
Errors encountered:
"primary_network_interface" conflicts with associate_public_ip_address
"ipv6_address_count" conflicts with ipv6_addresses
"ipv6_netmask_length": all of ipv6_ipam_pool_id, ipv6_netmask_length must be specified
Fix: Remove the conflicting parameters from generated_config.tf:
Remove primary_network_interface
Remove ipv6_addresses
Remove ipv6_netmask_length