Open willhume opened 1 month ago
You are looking for https://marketplace.upbound.io/providers/upbound/provider-aws-ec2/v1.10.0/resources/ec2.aws.upbound.io/VPCIPv4CidrBlockAssociation/v1beta1
https://stackoverflow.com/questions/47164229/does-terraform-support-secondary-cidr-for-vpcs is a relevant article describing in TF that this is the model that they use and would be the same thing to do in Crossplane Upjet provider.
What problem are you facing?
Importing a VPC with multiple CIDR blocks
I was importing a VPC built in Terraform to crossplane using the
managementPolicies: ["Observe"]
and noticed I could only pass the default CIDR Block which is fine but when I went to look at the rest of the resource as it was discovered I noticed it didn't show the secondary CIDR blocks I had attached to the VPC.My config:
Output when viewing the new VPC object
How could Official AWS Provider help solve your problem?
I was expecting to see the additional CIDR blocks referenced in the output. This would be useful for making security groups or subnets after importing a VPC.