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 ec2 module to shared library #3986

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Move ec2 module to shared library #3986

merged 1 commit into from
Oct 31, 2023

Conversation

timj-hh
Copy link
Contributor

@timj-hh timj-hh commented Oct 25, 2023

Summary

This change moves the ec2 module from the ECS agent module to the shared library, and updates references to it in the remaining codebase. ec2 module is needed for ECS frontend migration to the shared library.

Implementation details

  • Move ec2 module to shared library and update references in agent/ to ecs-agent
  • Replace one usage of seelog with shared logger module
  • Ran make gogenerate to update mocks
  • Ran go mod tidy && go mod vendor ran in both agent and ecs-agent directories. This will cause the generation of ec2 dependencies like aws-sdk-go to be created in the ecs-agent module.

Testing

make test && make run-integ-tests

New tests cover the changes: no

Description for the changelog

Move ec2 module to shared library

Does this PR include breaking model changes? If so, Have you added transformation functions?
no

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

danehlim
danehlim previously approved these changes Oct 26, 2023
RichaGangwar
RichaGangwar previously approved these changes Oct 27, 2023
@timj-hh timj-hh dismissed stale reviews from danehlim and RichaGangwar via 0b831d2 October 27, 2023 21:20
@timj-hh timj-hh force-pushed the ec2_sharedlib branch 7 times, most recently from 3ceab27 to f4914f1 Compare October 27, 2023 21:39
@timj-hh timj-hh merged commit d082d4f into aws:dev Oct 31, 2023
7 checks passed
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.

4 participants