-
Notifications
You must be signed in to change notification settings - Fork 427
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!: run local --use-task-role
flag
#5529
feat!: run local --use-task-role
flag
#5529
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## mainline #5529 +/- ##
============================================
- Coverage 70.05% 70.01% -0.04%
============================================
Files 302 302
Lines 46293 46403 +110
Branches 301 301
============================================
+ Hits 32429 32490 +61
- Misses 12291 12335 +44
- Partials 1573 1578 +5 ☔ View full report in Codecov by Sentry. |
🍕 Here are the new binary sizes!
|
--use-task-role
flag--use-task-role
flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
--use-task-role
flag--use-task-role
flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Implements the second method of retrieving the task role in the credentials chain:
ecs exec
Breaking change:
The
--use-task-role
flag will default totrue
. This is a breaking change because in the event that neither method of receiving credentials works,copilot run local
will fail by default. To mitigate this, we introduce a recommended action displayed when--use-task-role
fails that gives the user 2 recommendations to proceed:copilot run local --use-task-role=false
to disable the feature.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.