purple-appointment-84502
04/22/2022, 12:25 AMversion='v1.22'
. However, my pulumi preview isn't working as it wants to re-create a number of resources including the k8s provider. Is it possible to specify the version
after creating the cluster?steep-sunset-89396
04/22/2022, 12:27 AMpurple-appointment-84502
04/22/2022, 12:36 AMaws_native.eks.Cluster(
resource_name=f"{name}-eks-cluster",
name=f"{name}-eks-cluster",
version="1.22",
role_arn=eks_cluster_role.arn,
kubernetes_network_config=#configs
resources_vpc_config=#configs
)
kubeconfig="yaml here"
## k8 provider
k8.Provider(
f"{name}-k8s-provider",
cluster=eks_cluster.arn,
kubeconfig=kubeconfig,
)
My pulumi diff is then showing the kubeconfig is changing and hence the provider and other resources are falling oversteep-sunset-89396
04/22/2022, 1:10 AMignore_changes
in the resource options as a way to ignore version
? https://www.pulumi.com/docs/intro/concepts/resources/options/ignorechanges/purple-appointment-84502
04/22/2022, 1:27 AMignore_changes
doesn't modify the version, so it stands up correctly.
However, I've narrowed down the issue to the cluster.arn
changing, when I specify the version
prop, this occurs even when the version
matches whats currently in the pulumi statesteep-sunset-89396
04/22/2022, 1:54 AM--refresh
?purple-appointment-84502
04/22/2022, 2:11 AM--refresh
, same error.
Switching to classic is a bit difficult, quite a few of the outputs on the native provider has I'm reliant on...steep-sunset-89396
04/22/2022, 5:20 AM