Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes EFS IAM Policy Resource #829

Merged
merged 1 commit into from
May 30, 2019

Conversation

overdrive3000
Copy link
Contributor

Description

When IAM AddOn Policy for EFS is set to true the policy is generated
specifying a wrong (fake) resource ARN
arn:aws:elasticfilesystem:us-west-2:123456789012:file-system/*.

The resource ARN in the policy statement should be in the format of
arn:aws:elasticfilesystem:<REGION>:<AWS_ACCOUNT>:file-system/* or simply
allow all resources * as is being done in the other addons like the EBS
one.

Fix #828

Checklist

  • Code compiles correctly (i.e make build)
  • All unit tests passing (i.e. make test)
  • All integration tests passing (i.e. make integration-test)

When IAM AddOn Policy for EFS is set to true the policy is generated
specifying a wrong (fake) resource ARN
`arn:aws:elasticfilesystem:us-west-2:123456789012:file-system/*`.

The resource ARN in the policy statement should be in the format of
`arn:aws:elasticfilesystem:<REGION>:<AWS_ACCOUNT>:file-system/*` or simply
allow all resources `*` as is being done in the other addons like the EBS
one.

More information about EFS API Permissions can be found at:
https://docs.aws.amazon.com/efs/latest/ug/efs-api-permissions-ref.html

Issue eksctl-io#828
Copy link
Contributor

@errordeveloper errordeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@errordeveloper errordeveloper merged commit 22fcbac into eksctl-io:master May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EFS IAM AddOn Policy is setting a wrong resource
2 participants