mumoshu / terraform-provider-eksctl

Manage AWS EKS clusters using Terraform and eksctl
Apache License 2.0
234 stars 44 forks source link

Harmless error checking doesn't quite match #40

Closed TiagoJMartins closed 3 years ago

TiagoJMartins commented 3 years ago

Hello, I've recently got the following error which couldn't be recovered:

[DEBUG] plugin.terraform-provider-eksctl_v0.15.1: 2021/02/26 12:26:09 Checking if this is a harmless error while deleting missing fargateprofile: error is "Error: couldn't refresh role arn: no output \"FargatePodExecutionRoleARN\" in stack \"eksctl-blackgate-cluster\"", checking against "Error: no output \"FargatePodExecutionRoleARN\" in stack \"eksctl-blackgate-cluster\""

Seems like you're checking for a slightly different error than the one that's being passed in.

Isn't it fine to simply check for no output \"FargatePodExecutionRoleARN\" in stack?