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

Move instance role to constructs #200

Merged
merged 1 commit into from
Jan 25, 2021
Merged

Move instance role to constructs #200

merged 1 commit into from
Jan 25, 2021

Conversation

jamie-lynch
Copy link
Contributor

What does this change?

Now that we have our first proper pattern (🎉 ), this PR move the InstanceRole class into constructs as it more closely fits that definition.

Does this change require changes to existing projects or CDK CLI?

Yes, existing stacks that use the InstanceRole class will need to update where they import it from.

How to test

Run the tests to see that no actual changes have been made to any constructs or patterns. Update an existing stack's imports and see that the snapshot tests still pass.

How can we measure success?

Classes live in the location which best fits their definition.

Have we considered potential risks?

This is a breaking change and so any projects making use of the InstanceRole will have to make changes before they can use the latest version of the library.

@jamie-lynch jamie-lynch requested a review from a team January 25, 2021 14:34
Copy link
Contributor

@jacobwinch jacobwinch left a comment

Choose a reason for hiding this comment

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

Thanks for tidying this up 👍

@jamie-lynch jamie-lynch merged commit f650b5c into main Jan 25, 2021
@jamie-lynch jamie-lynch deleted the jl/move-instance-role branch January 25, 2021 15:17
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