-
Notifications
You must be signed in to change notification settings - Fork 3
PLT-1445 Service module adoption for AB2D contracts, events and worker services #1663
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
base: main
Are you sure you want to change the base?
Conversation
bennavapbc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will likely want to merge #1666 first? cc @juliareynolds-nava
42ecd0e
42ecd0e to
e894326
Compare
|
Changes have been made both to this PR and the related CDAP service module PR - see the updated Tofu plans in the description. |
e894326 to
eb225ab
Compare
bec829d to
83b643d
Compare
1c9f025 to
66be8ae
Compare
Apologies for not catching this earlier, but I'm fairly certain that the ab2d team will want contracts and events to have tags specific to each service. Please do create separate platform instances for each. |
Correct. |
This probably ought to split
Re-declaring the platform module here won't help matters without modifying CDAP's |
9d36518 to
2415a0d
Compare
| secrets : [ | ||
| { name : "AB2D_BFD_KEYSTORE_PASSWORD", valueFrom : local.bfd_keystore_password_arn }, | ||
| { name : "AB2D_BFD_KEYSTORE_BASE64", valueFrom : local.bfd_keystore_base64_arn }, | ||
| { name : "AB2D_BFD_TRUSTSTORE_CERT", valueFrom : local.bfd_server_public_cert_arn }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AB2D is going to need this TRUSTSTORE cert value for the mtls V3 update.
🎫 Ticket
https://jira.cms.gov/browse/PLT-1445
🛠 Changes
This PR contains the changes required to migrate the AB2D contracts, events and worker services onto the CDAP service module.
The following two caveats should be noted:
contractsoreventstomicroservices. If this is not desired then microservice-specific platform modules could be passed in instead.events_serviceforce_new_deploymentflag is reverted fromtruetofalsewhich would indicate that during the previoustofu applyin the test environment this setting was overridden with an image tag which sets the flag totrue.unit-integration-test/sonarqube/testcheck on this PR failed (https://github.com/CMSgov/ab2d/actions/runs/20345958599/job/58458189335?pr=1663) with errors that appear to be unrelated to these changes. Please advise whether this test is flaky or whether it indicates an issue introduced by these changes.health_check_grace_period_secondsvariable was added to the service module to prevent errors from setting this value to 300 for the worker service given that it is not associated with a load balancer; see [Bug]: Breaking change: Health check grace period is only valid for services configured to use load balancers hashicorp/terraform-provider-aws#31104 for more details.ℹ️ Context
With the AB2D api service having already been migrated to the CDAP service module, this PR addresses service module adoption for the remaining three AB2D services.
🧪 Validation
Tofu plan output for 20-microservices (AB2D-TEST)
Tofu plan output for 30-worker (AB2D-TEST)