I was looking into a problem with scheduling for ubibot and I realised that the time is set completely wrong on the instance. I presume this is because it is an AMI from a different region.
I tried to add a filter to the AMI lookup:
data "aws_ami" "stable_coreos" {
most_recent = true
filter {
name = "description"
values = ["CoreOS Container Linux stable *"]
}
...
filter {
name = "region"
values = ["eu-central-1"]
}
owners = ["595879546273"] # CoreOS
}
which didn't work but then I realised that perhaps CoreOS doesn't have region specific images (which appears to be the case but I can't tell definitively)
All this brings me back to wanting to change the images on these instances to Amazon Linux 2. I tried before and made a mess of it, and had to roll back my changes.
I was looking into a problem with scheduling for ubibot and I realised that the time is set completely wrong on the instance. I presume this is because it is an AMI from a different region.
I tried to add a filter to the AMI lookup:
which didn't work but then I realised that perhaps CoreOS doesn't have region specific images (which appears to be the case but I can't tell definitively)
All this brings me back to wanting to change the images on these instances to Amazon Linux 2. I tried before and made a mess of it, and had to roll back my changes.
This time I have a new branch: https://github.com/CirclesUBI/infrastructure-provisioning/tree/amzn-linux-2