Closed hand-zoulei closed 3 years ago
@hand-zoulei Ah sry, eksctl_iamserviceaccount is deprecated and probably unusable. You should use the standard eksctl feature for that, writing iam.serviceAccounts
configs under eksctl_cluster
's spec
attribute.
resource "eksctl_iamserviceaccount" "eksctl_iamserviceaccount" { namespace="logging" name="fluent-bit" cluster=eksctl_cluster.eks.name attach_policy_arn=var.fluent_bit_policy_arn override_existing_serviceaccounts=true }
module.eksctl.eksctl_iamserviceaccount.eksctl_iamserviceaccount: Creating...
Error: Provider produced inconsistent result after apply
When applying changes to module.eksctl.eksctl_iamserviceaccount.eksctl_iamserviceaccount, provider "registry.terraform.io/mumoshu/eksctl" produced an unexpected new value: Root resource was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.