Skip to content

feat(cli): add --secrets flag to task run#2163

Merged
mergify[bot] merged 5 commits intoaws:mainlinefrom
Lou1415926:cli/tr
Apr 14, 2021
Merged

feat(cli): add --secrets flag to task run#2163
mergify[bot] merged 5 commits intoaws:mainlinefrom
Lou1415926:cli/tr

Conversation

@Lou1415926
Copy link
Copy Markdown
Contributor

@Lou1415926 Lou1415926 commented Apr 9, 2021

Allow user to specify a list of secrets they want to inject into the container.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Lou1415926 Lou1415926 requested a review from a team as a code owner April 9, 2021 22:49
@Lou1415926 Lou1415926 requested a review from iamhopaul123 April 9, 2021 22:49
Copy link
Copy Markdown
Contributor

@iamhopaul123 iamhopaul123 left a comment

Choose a reason for hiding this comment

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

The code LGTM. Do we need to make our unit tests cover this secret usage?

@efekarakus efekarakus added the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Apr 13, 2021
Comment thread internal/pkg/cli/flag.go Outdated
Comment thread site/content/docs/commands/task-run.md Outdated
Copy link
Copy Markdown
Contributor

@huanjani huanjani left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for making those extra fixes, too!

@efekarakus efekarakus removed the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Apr 14, 2021
@efekarakus efekarakus changed the title chore(cli): add --secrets flag to task run feat(cli): add --secrets flag to task run Apr 14, 2021
Copy link
Copy Markdown
Contributor

@efekarakus efekarakus left a comment

Choose a reason for hiding this comment

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

Looks great! Just to make sure, did we test this both with SSM secrets and secret manager secrets?

@mergify mergify Bot merged commit fff5bce into aws:mainline Apr 14, 2021
Lou1415926 added a commit to Lou1415926/copilot-cli that referenced this pull request Apr 20, 2021
Allow user to specify a list of secrets they want to inject into the container.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Lou1415926 added a commit to Lou1415926/copilot-cli that referenced this pull request Apr 20, 2021
Allow user to specify a list of secrets they want to inject into the container.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
thrau pushed a commit to localstack/copilot-cli-local that referenced this pull request Dec 9, 2022
Allow user to specify a list of secrets they want to inject into the container.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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.

5 participants