provider-jet-aws
provider-jet-aws copied to clipboard
(fix)(ec2-asg): fix autoscalinggroup by ignoring `availability_zones` which conflicts with `vpc_zone_identifier' field
Description of your changes
- This fixes an issue where when you try to create an autoscalinggroup and specify
vpcZoneIdentifier
you get the following observer issue and are not able to update resource:
observe failed: cannot run refresh: refresh failed: Conflicting configuration arguments: "availability_zones": conflicts with vpc_zone_identifier: File name: main.tf.json
Conflicting configuration arguments: "vpc_zone_identifier": conflicts with availability_zones: File name: main.tf.json
I have:
- [x] Read and followed Crossplane's [contribution process].
- [x] Run
make reviewable test
to ensure this PR is ready for review.
How has this code been tested
Run controller package revision from this codebase and tested the same resource, this time I no longer get the observe failed error