Difference between revisions of "Error: reading inline policies for IAM role"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  │ Error: reading inline policies for IAM role mycluster-eks-node-group-2023100555912474437000009, error: AccessDenied: User:  
+
  │ Error: reading inline policies for [[IAM]] role mycluster-eks-node-group-2023100555912474437000009, error: [[AccessDenied]]: User:  
  arn:aws:sts::0123456789:assumed-role/my-eks-github-runner-downstream-clusters/gitHubSession is not authorized to perform:  
+
  arn:aws:sts::0123456789:[[assumed-role]]/my-eks-github-runner-downstream-clusters/gitHubSession is not authorized to perform:  
  iam:GetRolePolicy on resource: role mycluster-eks-node-group-20231005094627443707000009 because no identity-based policy allows  
+
  iam:GetRolePolicy on resource: role mycluster-eks-node-group-20231005094627443707000009 because no identity-based policy allows the [[iam:GetRolePolicy]] action
the [[iam:GetRolePolicy]] action
 
 
  │ status code: 403, request id: 0416d35a-fddd-4597-a53d-a640599e68bb
 
  │ status code: 403, request id: 0416d35a-fddd-4597-a53d-a640599e68bb
 
  │  
 
  │  
 
  │  with module.downstream-clusters-EKS.module.eks.module.eks_managed_node_group["default_node_group"].aws_iam_role.this[0],
 
  │  with module.downstream-clusters-EKS.module.eks.module.eks_managed_node_group["default_node_group"].aws_iam_role.this[0],
  │  on .terraform/modules/downstream-clusters-EKS.eks/modules/eks-managed-node-group/main.tf line 417, in resource "aws_iam_role" "this":
+
  │  on .terraform/modules/EKS.eks/modules/eks-managed-node-group/main.tf line 417, in resource "[[aws_iam_role]]" "this":
 
  │  417: resource "aws_iam_role" "this" {
 
  │  417: resource "aws_iam_role" "this" {
 
  │  
 
  │  
 
  ╵
 
  ╵
 
  Error: Process completed with exit code 1.
 
  Error: Process completed with exit code 1.
 +
 +
 +
== Related ==
 +
* <code>[[mapRoles:]]</code>
 +
* [[aws_iam_role]]
  
 
== See also ==
 
== See also ==
* {{IAM}}
+
* {{aws_iam_role_resource}}
 +
* {{aws_iam_role}}
 +
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 12:52, 3 January 2024

│ Error: reading inline policies for IAM role mycluster-eks-node-group-2023100555912474437000009, error: AccessDenied: User: 
arn:aws:sts::0123456789:assumed-role/my-eks-github-runner-downstream-clusters/gitHubSession is not authorized to perform: 
iam:GetRolePolicy on resource: role mycluster-eks-node-group-20231005094627443707000009 because no identity-based policy allows the iam:GetRolePolicy action
│ 	status code: 403, request id: 0416d35a-fddd-4597-a53d-a640599e68bb
│ 
│   with module.downstream-clusters-EKS.module.eks.module.eks_managed_node_group["default_node_group"].aws_iam_role.this[0],
│   on .terraform/modules/EKS.eks/modules/eks-managed-node-group/main.tf line 417, in resource "aws_iam_role" "this":
│  417: resource "aws_iam_role" "this" {
│ 
╵
Error: Process completed with exit code 1.


Related[edit]

See also[edit]

Advertising: