Actually, the packer copy does seem to preserve product codes:
ubuntu@ip-172-31-29-146:~$ curl -s http://169.254.169.254/latest/dynamic/instance-identity/document [...] "marketplaceProductCodes" : [ "ex9l8qw4x21426rsfg7am8gym" ], [...] }
So we have two bugs; I'll file the other one if we don't have one yet.
Actually, the packer copy does seem to preserve product codes:
ubuntu@ ip-172- 31-29-146: ~$ curl -s http:// 169.254. 169.254/ latest/ dynamic/ instance- identity/ document roductCodes" : [ "ex9l8qw4x21426 rsfg7am8gym" ],
[...]
"marketplaceP
[...]
}
So we have two bugs; I'll file the other one if we don't have one yet.