User Story: “As a developer deploying the Kafka v2 topics, I want to test that the Terraform update will not break existing infrastructure and applies the appropriate Kafka changes,
so that I can be confident the IAC changes will work as expected.”
Acceptance criteria
The Terraform changes for Kafka work in dev
ToDo
- Spin up new EC2 instance in same VPC as dev MSK cluster
- Connect with AWS SSM to the instance and run the Python deployer with write mode disabled
- Output the MSK changes to a JSON file
- Review the JSON changes and share with team to verify deployment plan
- Upgrade the DEV brokers EC2 instances to X-Large, so they are the same as Prod hardware
- Deploy to DEV and check that the topics and partitions are allocated correctly
- Monitor DEV reingest of the first two or three projects
Test Strategy
Share the Topic and ACL file with the team. And compare the JSON topic/partition list with the TF code
Things to consider:
- Check that we can connect to the MSK cluster using an EC2 instance and run the Python deployer script without other IAC dependencies