Open jeunii opened 1 year ago
Same issue with:
still an issue with provider latest v0.37.0 ? I was trying to migrate from community provider to official Upbound provider. Am not able to create EKS resources. Getting this error when testing EKS creation.
Warning CannotObserveExternalResource 15s (x5 over 27s) managed/eks.aws.upbound.io/v1beta1, kind=cluster cannot run refresh: refresh failed: Missing required argument: The argument "subnet_ids" is required, but no definition was found.
Missing required argument: The argument "subnet_ids" is required, but no definition was found.
Too many vpc_config blocks: No more than 1 "vpc_config" blocks are allowed
Any pointers to this please ?
Provider renders the Cluster spec to terraform config as snippet below.
"vpc_config":[ { "subnet_ids":[ "subnet-xxx", "subnet-xxx" ] }, { "public_access_cidrs":[ "0.0.0.0/0" ] }, { "security_group_ids":[ "sg-xx" ] }, { "endpoint_private_access":true }, { "endpoint_public_access":false } ]
In terraform vpc_config is not an array. It's an object. Like below
"vpc_config":{ "subnet_ids":[ "subnet-xx", "subnet-xx" ], "public_access_cidrs":[ "0.0.0.0/0" ], "security_group_ids":[ "sg-xx" ], "endpoint_private_access":true, "endpoint_public_access":false }
@jeanduplessis any workaround for this available?
What happened?
I am creating a composition that creates the following managed resources
All resources except for the cluster are being created. The error I am getting is
Although the subnet is created and has been picked up the cluster managed resource
Everything else seems to be correctly deployed
How can we reproduce it?
Here are my configs
XRD
Composition
XR
What environment did it happen in?