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

[managed-cloud] Policy and module updates; Support for CloudFormation #39

Merged
merged 9 commits into from
Jan 27, 2022

Conversation

jrsdav
Copy link
Contributor

@jrsdav jrsdav commented Jan 7, 2022

This adds a CloudFormation template to the managed-cloud module, as an alternative method of deploying the resources used for StreamNative's vendor access.

Additional policy updates have been made to the managed-cloud module to support access by StreamNative's Control Plane for Cloud Managed environments.

@jrsdav jrsdav requested a review from addisonj January 7, 2022 23:39
- !Ref ControlPlaneManagerArn
- !Ref VendorSupportRoleArn
Action: sts:AssumeRole
- Sid: AllowStreamNativeControlPlaneAccess
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need this here, as the access first comes from the our AWS account, not direct from the control plane cluster

Principal:
AWS:
- !Ref ControlPlaneManagerArn
- !Ref VendorSupportRoleArn
Copy link
Contributor

Choose a reason for hiding this comment

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

My thinking is we can still just use a single ARN as trust, as we can just grant go through control plane ARN

@jrsdav jrsdav changed the title Initial commit of CF template for managed cloud [managed-cloud] Policy and module updates; Support for CloudFormation Jan 25, 2022
@jrsdav
Copy link
Contributor Author

jrsdav commented Jan 25, 2022

TODO:

  • Migrate template_file usage to the native templatefile() function

@jrsdav jrsdav marked this pull request as ready for review January 27, 2022 23:07
@jrsdav jrsdav merged commit 73ae271 into master Jan 27, 2022
@delete-merged-branch delete-merged-branch bot deleted the feat/cloudformation branch January 27, 2022 23:10
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.

2 participants