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

Update service metadata in iam_definition.json #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smrojas
Copy link

@smrojas smrojas commented Aug 7, 2023

Problem

Observed UNKNOWN_PREFIX - Unknown prefix bedrock from parliament. This is a new AWS service called Bedrock. We need to refresh the mappings with the most recent services.

Testing

Ran python utils/update_iam_data.py > parliament/iam_definition.json and looked for the bedrock service in the json

    "prefix": "bedrock",                                                                                                                                                    "privileges": [
      {
        "access_level": "Write",
        "description": "Grants permission to create a job for customizing the model with your custom training data",
        "privilege": "CreateModelCustomizationJob",
        "resource_types": [
          {
            "condition_keys": [],
            "dependent_actions": [],
            "resource_type": "custom-model*"
          },
          {
            "condition_keys": [],
            "dependent_actions": [],
            "resource_type": "foundation-model*"
          },
          {
            "condition_keys": [],
            "dependent_actions": [],
            "resource_type": "model-customization-job*"
          },
          {
            "condition_keys": [
              "aws:RequestTag/${TagKey}",
              "aws:TagKeys"
            ],
            "dependent_actions": [],
            "resource_type": ""
          }
        ]
      }

@CLAassistant
Copy link

CLAassistant commented Aug 7, 2023

CLA assistant check
All committers have signed the CLA.

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.

None yet

2 participants