Skip to content

Conversation

@hawflau
Copy link
Contributor

@hawflau hawflau commented Feb 24, 2021

Issue #, if available:
#1728

Description of changes:
If tracing is enabled and Policies is used in the State Machine resource, the created IAM role for the State Machine resource will include a correct X Ray managed policy (depending on partition).

Description of how you validated changes:
Add tests to cover case when tracing is enabled and Policies is used in the State Machine resource in a template.

Checklist:

  • Write/update tests
  • make pr passes
  • Update documentation
  • 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.

@hawflau hawflau merged commit d1f234b into aws:develop Feb 25, 2021
mgrandis pushed a commit to mgrandis/serverless-application-model that referenced this pull request Mar 2, 2021
* Fix missing xray policy for State Machine resource

* Update comment
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.

3 participants