(aws-eks): OpenIdConnectProvider does not work with Aspects #13783
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
OpenIdConnectProvider does not work with Aspects. We have an iam policy which requires a boundary policy to be applied to all created roles. There doesn't seem to be a way to apply a boundary policy to the role that OpenIdConnectProvider creates. Tags are also not added to the resources that are created. The methods below works for all other resources in the stack
Reproduction Steps
self.provider = self.eks_cluster.open_id_connect_provider
iam.PermissionsBoundary.of(self).apply(boundary)
core.Tags.of(self).add('app', 'eks')
What did you expect to happen?
Have permission boundary and tags applied to the role and lambda created by the open_id_connect_provider custom resource.
What actually happened?
No permission boundary policy or tags applied to the resources created.
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: