pulumi-aws icon indicating copy to clipboard operation
pulumi-aws copied to clipboard

EKS Cluster vpcConfig.vpcId should not be an input

Open danielrbradley opened this issue 1 year ago • 1 comments

Trying to set a value for vpcConfig.vpcId results in the error:

error: aws:eks/cluster:Cluster resource 'eksCluster-cluster' has a problem:
Value for unconfigurable attribute.
Can't configure a value for "vpc_config.0.vpc_id":
its value will be decided automatically based on the result of applying this configuration..
Examine values at 'eksCluster-cluster.vpcConfig.vpcId'.

This field is listed as Computed in the upstream provider:

https://github.com/hashicorp/terraform-provider-aws/blob/9e65615e21dce9e508e677392e3d183f2579296f/internal/service/eks/cluster.go#L337-L339

danielrbradley avatar Sep 26 '24 13:09 danielrbradley

Another instance of https://github.com/pulumi/pulumi-terraform-bridge/issues/2178 ! Thanks so much for reporting, we missed the impact that it's broken at runtime anyway.

t0yv0 avatar Sep 26 '24 14:09 t0yv0