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

feat(amplify-category-auth): export lambda trigger roles in template #2894

Merged
merged 2 commits into from
Dec 11, 2019
Merged

Conversation

rowanu
Copy link
Contributor

@rowanu rowanu commented Dec 1, 2019

Export execution role so that policies can be associated later. This brings them in line with
function category provider.

re #2303

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

Expore execution role so that policies can be associated later. This
brings them in line with function category provider.

re #2303
@codecov-io
Copy link

codecov-io commented Dec 1, 2019

Codecov Report

Merging #2894 into master will increase coverage by 1.8%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2894     +/-   ##
=========================================
+ Coverage   60.87%   62.68%   +1.8%     
=========================================
  Files         224      219      -5     
  Lines       11495    11164    -331     
  Branches     2253     2174     -79     
=========================================
  Hits         6998     6998             
+ Misses       4189     3858    -331     
  Partials      308      308
Impacted Files Coverage Δ
...-appsync-simulator/src/data-loader/lambda/index.ts
...plify-appsync-simulator/src/velocity/util/index.ts
...amplify-appsync-simulator/src/data-loader/index.ts
...mplify-appsync-simulator/src/mqtt-server/client.ts
...simulator/src/data-loader/dynamo-db/utils/index.ts
...ackages/amplify-appsync-simulator/src/utils/log.ts
...psync-simulator/src/data-loader/dynamo-db/index.ts
...lify-appsync-simulator/src/velocity/util/errors.ts
...sync-simulator/src/schema/appsync-scalars/index.ts 0% <0%> (ø)
...y-appsync-simulator/src/schema/directives/index.ts 0% <0%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b518061...61e6faa. Read the comment docs.

@@ -191,10 +191,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -208,10 +208,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -184,10 +184,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -184,10 +184,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -191,10 +191,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -184,6 +184,11 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -198,10 +198,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -184,6 +184,11 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@@ -192,10 +192,15 @@
"Arn": {
"Value": {"Fn::GetAtt": ["LambdaFunction", "Arn"]}
},
"LambdaExecutionRole": {
"Value: {

Choose a reason for hiding this comment

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

Missing closing quotations on Value.

@rowanu
Copy link
Contributor Author

rowanu commented Dec 5, 2019

Ugh, sorry for the copypast 🍝 will fix

Copy link
Contributor

@kaustavghosh06 kaustavghosh06 left a comment

Choose a reason for hiding this comment

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

LGTM.

@kaustavghosh06 kaustavghosh06 merged commit 3d07717 into aws-amplify:master Dec 11, 2019
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants