Skip to content
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

Fix IAM permission issues on creation of new task #62

Open
wants to merge 15 commits into
base: v2.0.0
Choose a base branch
from

Conversation

aideenfay
Copy link

Description of changes:

  • Adds additional IAM permission ecs:CreateServiceLinkedRole to existing policy statement within APICfnWorkflowTaskFnPolicy.
  • Creates new policy statement within APICfnWorkflowTaskFnPolicy to grant the DataTransferHub-APICfnWorkflowCreateTaskCfnFnServi-<ID> role iam:CreateServiceLinkedRole permissions to the AWSServiceRoleForAutoScaling resource.

Why are these changes necessary?
Without these permissions, the CloudFormation template deployed on creation of a new data transfer task will not successfully deploy and the permissions need to be manually added to the APICfnWorkflowTaskFnPolicy attached to the DataTransferHub-APICfnWorkflowCreateTaskCfnFnServi-<ID> role.

dependabot bot and others added 15 commits August 13, 2021 01:56
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.5.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.4.5...7.5.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.4 to 4.16.7.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.16.4...4.16.7)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.8.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.0...v6.1.8)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…arn/source/constructs/path-parse-1.0.7

chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /source/constructs
…arn/source/constructs/ws-7.5.3

chore(deps): bump ws from 7.4.5 to 7.5.3 in /source/constructs
…arn/source/constructs/browserslist-4.16.7

chore(deps): bump browserslist from 4.16.4 to 4.16.7 in /source/constructs
…arn/source/portal/url-parse-1.5.3

chore(deps): bump url-parse from 1.5.1 to 1.5.3 in /source/portal
…arn/source/portal/tar-6.1.8

chore(deps): bump tar from 6.1.0 to 6.1.8 in /source/portal
Bumps [tar](https://github.com/npm/node-tar) from 6.1.8 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.8...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…arn/source/portal/tar-6.1.11

chore(deps): bump tar from 6.1.8 to 6.1.11 in /source/portal
**What changes does this introduce**
- Adds additional IAM permission `ecs:CreateServiceLinkedRole` to existing policy statement within `APICfnWorkflowTaskFnPolicy`.
- Creates new policy statement within `APICfnWorkflowTaskFnPolicy` to grant the `DataTransferHub-APICfnWorkflowCreateTaskCfnFnServi-<ID>` role `iam:CreateServiceLinkedRole` permissions to the `AWSServiceRoleForAutoScaling` resource.

**Why are these changes necessary?**
Without these permissions, the CloudFormation template deployed on creation of a new data transfer task will not successfully deploy and the permissions need to be manually added to the `APICfnWorkflowTaskFnPolicy` attached to the `DataTransferHub-APICfnWorkflowCreateTaskCfnFnServi-<ID>` role.
@aideenfay aideenfay closed this Sep 15, 2021
@aideenfay aideenfay reopened this Sep 24, 2021
@YikaiHu
Copy link
Collaborator

YikaiHu commented Sep 26, 2021

Hi @mang0kitty , thank you for your contribution, we will check and test the code first.

@YikaiHu
Copy link
Collaborator

YikaiHu commented Sep 26, 2021

@mang0kitty,

Thanks you for contributing the code to solve this problem.
We have test the code and it worked well 👍

Could you please resolve the conflict and we will merge.

Thanks again!

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