Skip to content

docs(apprunner): Document service principals required for app runner roles#18100

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
joeyhage:patch-1
Dec 21, 2021
Merged

docs(apprunner): Document service principals required for app runner roles#18100
mergify[bot] merged 2 commits intoaws:masterfrom
joeyhage:patch-1

Conversation

@joeyhage
Copy link
Copy Markdown
Contributor

If the roles do not have the correct service principal, the CDK deployment fails with a null error message. Documenting the app runner roles similar to how lambda and ec2 are documented should help direct CDK consumers debug role issues and direct them to the AWS docs.


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

If the roles do not have the correct service principal, the CDK deployment fails with an null error message. Having this documented should help direct engineers to the proper docs.
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Dec 20, 2021

@github-actions github-actions bot added the @aws-cdk/aws-lambda Related to AWS Lambda label Dec 20, 2021
@kaizencc kaizencc changed the title feat(docs): Document service principals required for app runner roles docs(apprunner): Document service principals required for app runner roles Dec 20, 2021
@kaizencc kaizencc removed the @aws-cdk/aws-lambda Related to AWS Lambda label Dec 20, 2021
@kaizencc kaizencc removed their assignment Dec 20, 2021
@kaizencc kaizencc added the @aws-cdk/aws-apprunner Related to the apprunner package label Dec 20, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Dec 21, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: ca8e85a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 4885a26 into aws:master Dec 21, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Dec 21, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…roles (aws#18100)

If the roles do not have the correct service principal, the CDK deployment fails with a null error message. Documenting the app runner roles similar to how [lambda](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-lambda/lib/function.ts#L111) and [ec2](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-ec2/lib/instance.ts#L168) are documented should help direct CDK consumers debug role issues and direct them to the AWS docs.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@dbroadhurst
Copy link
Copy Markdown

I've been trying to connect an App Runner to SQS and cannot find a way to add the service principle. Everything works as expect when I add the SQS policy to the user but can't seem to find a way to get permission using the instructions above. Anyone got an example?

@joeyhage joeyhage deleted the patch-1 branch May 17, 2022 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-apprunner Related to the apprunner package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants