Skip to content

Conversation

@chrisoverzero
Copy link
Contributor

@chrisoverzero chrisoverzero commented Feb 26, 2021

The action underlying this policy does not take a particular resource.

Issue #, if available:

Resolves #1944

Description of changes:

Removes templated ARN from AMIDescribePolicy, replacing it with a static *.

Description of how you validated changes:

Aside from the translator tests, created a Lambda Function using these permissions and successfully performed the action.

Checklist:

  • Write/update tests
  • make pr passes
  • Update documentation The documentation appears not to be in the repo – wherever that is will have to be updated. Maybe it's generated?
  • Verify transformed template deploys and application functions as expected

Examples?

Please reach out in the comments, if you want to add an example. Examples will be
added to sam init through https://github.com/awslabs/aws-sam-cli-app-templates/

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

The action underlying this policy does not take a resource.

Resolves #1944
@codecov-io
Copy link

codecov-io commented Feb 26, 2021

Codecov Report

Merging #1945 (39aa04a) into develop (d1f234b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1945   +/-   ##
========================================
  Coverage    93.88%   93.88%           
========================================
  Files           90       90           
  Lines         5954     5954           
  Branches      1213     1213           
========================================
  Hits          5590     5590           
  Misses         168      168           
  Partials       196      196           

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 d1f234b...39aa04a. Read the comment docs.

Copy link
Contributor

@hawflau hawflau left a comment

Choose a reason for hiding this comment

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

LGTM!

@hawflau hawflau merged commit 9ac8282 into aws:develop Mar 1, 2021
mgrandis pushed a commit to mgrandis/serverless-application-model that referenced this pull request Mar 2, 2021
The action underlying this policy does not take a resource.

Resolves aws#1944
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.

Format of Generated ARN for Policy Template AMIDescribePolicy Is Incorrect

4 participants