provider-jet-aws icon indicating copy to clipboard operation
provider-jet-aws copied to clipboard

(fix)(ec2-asg): fix autoscalinggroup by ignoring `availability_zones` which conflicts with `vpc_zone_identifier' field

Open arturo-skydio opened this issue 2 years ago • 0 comments

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

arturo-skydio avatar Sep 22 '22 19:09 arturo-skydio