Skip to content

Commit

Permalink
feat(ec2): instance support passing IAM instance profile (#32073)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
phuhung273 authored Nov 28, 2024
1 parent d2e0b29 commit cf89d0f
Show file tree
Hide file tree
Showing 15 changed files with 33,479 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cf89d0f

Please sign in to comment.