Commit 0c57d10
committed
OCPBUGS-34243: unique AWS HostedZone Caller Ref
The CallerReference used when creating an AWS Hosted Zone should be
unqiue, as stated in the docs:
> A unique string that identifies the request
https://docs.aws.amazon.com/cli/latest/reference/route53/create-hosted-zone.html
Prior to this commit, the Caller Reference is simply a timestamp. We
have seen an issue, when batch launching multiple simultaneous installs
in CI that the call may happen at the same time and therefore have
the same Caller Reference, which leads to the failure:
> failed to create private hosted zone: error creating private hosted zone:
> HostedZoneAlreadyExists: A hosted zone has already been created with
> the specified caller reference.
Instead, let's use the infraid, which is our typical way of
distinguishing clusters and contains a short unique-ish id to
avoid collisions.1 parent 8310b10 commit 0c57d10
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
251 | | - | |
252 | 250 | | |
253 | | - | |
| 251 | + | |
254 | 252 | | |
255 | 253 | | |
256 | 254 | | |
| |||
0 commit comments