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

fix: Fix lambda/ECS IAM permissions for AOSS #467

Merged
merged 2 commits into from
May 22, 2023

Conversation

kukushking
Copy link
Contributor

Feature or Bugfix

  • Bugfix

Detail

  • Add "aoss:APIAccessAll" to lambda/ECS task IAM roles required since May 10th (see message below). Fixes 403 errors from APIs.
[Action required] Amazon OpenSearch Serverless requires mandatory IAM permission for access to resources
Starting May 10th, 2023, OpenSearch Serverless is mandating two new IAM permissions for collection resources. The two IAM permissions are "aoss:APIAccessAll" for Data Plane API access, and "aoss:DashboardsAccessAll" for Dashboards access from the browser.
You are required to add these two IAM permissions for your OpenSearch Serverless "aoss:APIAccessAll" for Data Plane API access, and "aoss:DashboardsAccessAll" for Dashboards access. You must complete this action by May 9th, 2023. Failure to add the two new IAM permissions will result in 403 errors starting on May 10th, 2023
For a sample data-plane policy [here](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/security-iam-serverless.html#security_iam_id-based-policy-examples-data-plane.html)
If you have any questions or concerns, please contact [AWS Support](https://aws.amazon.com/support)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kukushking kukushking requested a review from dlpzx May 17, 2023 23:17
@kukushking kukushking self-assigned this May 17, 2023
@kukushking kukushking marked this pull request as draft May 20, 2023 15:46
@kukushking kukushking marked this pull request as ready for review May 21, 2023 23:19
@kukushking
Copy link
Contributor Author

@dlpzx this has been E2E tested on a fresh new deployment.

Copy link
Contributor

@dlpzx dlpzx left a comment

Choose a reason for hiding this comment

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

lgtm

@dlpzx dlpzx merged commit 3b85ad2 into data-dot-all:main May 22, 2023
@kukushking kukushking deleted the fix/aoss-iam branch May 22, 2023 08:45
@dlpzx dlpzx changed the title Fix lambda/ECS IAM permissions for AOSS fix: Fix lambda/ECS IAM permissions for AOSS May 24, 2023
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.

2 participants