Skip to content

Commit cf89d0f

Browse files
authored
feat(ec2): instance support passing IAM instance profile (#32073)
### Issue # (if applicable) Closes #8348 ### Reason for this change - Use only 1 IAM instance profile for multiple instances - Passing role create too many instance profile ### Description of changes - `ec2.Instance` support `instanceProfile` param ### Description of how you validated changes - unit test - integ test ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d2e0b29 commit cf89d0f

File tree

15 files changed

+33479
-8
lines changed

15 files changed

+33479
-8
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.instance-iam-profile.js.snapshot/asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c/__entrypoint__.js

+155
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.instance-iam-profile.js.snapshot/asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)