CLI
Version 3.32.1
Go Version go1.18.1
Go Compiler gc
Plugins
NAME VERSION
aws 5.8.0
aws-iam 0.0.5
eks 0.41.2
kubernetes 3.20.0
python unknown
tls 4.6.0
Host
OS darwin
Version 12.2
Arch arm64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
Trying to create a RoleForServiceAccountsEks for Karpenter
Steps to reproduce
My Python code:
iam_new.RoleForServiceAccountsEks( 'role_for_service_account_eks', role=iam_new.RoleArgs( name='karpenter' ), tags={ 'Name': 'karpenter-irsa', }, oidc_providers={ 'main': iam_new.OIDCProviderArgs( provider_arn='arn:aws:iam::00000000000:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/',
namespace_service_accounts=['karpenter:karpenter'],
),
},
policies=iam_new.EKSRolePoliciesArgs(
karpenter_controller=iam_new.EKSKarpenterControllerPolicyArgs(
attach=True,
cluster_id=eks_cluster_id
),
),
)
Expected Behavior
Role should be created
Actual Behavior
Got the following error during
pulumi up
:error: Resource monitor has terminated, shutting down error: an unhandled error occurred: Program exited with non-zero exit code: 1
Versions used
CLI
Version 3.32.1 Go Version go1.18.1 Go Compiler gc
Plugins NAME VERSION aws 5.8.0 aws-iam 0.0.5 eks 0.41.2 kubernetes 3.20.0 python unknown tls 4.6.0
Host
OS darwin Version 12.2 Arch arm64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).