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

some additional policies for product launch role #39

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,29 @@ def __init__(
resources=[f"arn:aws:sagemaker:*:{Aws.ACCOUNT_ID}:model-package-group/*"],
),
)

# allows user to see the created resources in service catalog view
products_launch_role.add_to_policy(
iam.PolicyStatement(
actions=["cloudformation:ListStackResources"],
effect=iam.Effect.ALLOW,
resources=[
"*"
],
),
)

# allows updating provisiond products on the fly without reprovisioning
# useful for development workd on the template
products_launch_role.add_to_policy(
iam.PolicyStatement(
actions=["codebuild:UpdateProject"],
effect=iam.Effect.ALLOW,
resources=[
"*"
],
),
)

portfolio = servicecatalog.Portfolio(
self,
Expand Down