We have a requirement for users to be able to define a set of tags that should be applied to all resources created by the cluster.
This information is going to be placed in the infrastructure platformStatus.
We need to copy these tags onto EC2 instances as we create/update the Machine resources.
The Infrastructure tag list should be considered authoritative and any outside changes to a tag that it defines should be stomped by the Machine controller. Exceptions to this are the two tags (Name and cluster id) that the Machine controller relies on today.
- AWS actuator reads the tags from the infrastructure resource
- AWS actuator applies the tags on create and update to every EC2 instance
- E2E test verifies that if the Infra resource has additionally defined tags, then the behaviour defined above is observed