packer-cn/common/retry
Wilken Rivera 561f02cc2f
builder/azure-arm: Update logic for setting subscriptionID (#8685)
* builder/azure-arm: Update logic for setting subscriptionID

Previously, when using managed identities, the Azure builder would set the SubscriptionID in the Prepare method. But would not update it after getting the updated SubscriptionID from the metadata server. This change updates the Run method to ensure a valid subscriptionID is saved to the statebag before continuing with an image build.

Co-authored-by: Paul Meyer <paul.meyer@outlook.com>
2020-02-04 10:54:58 -05:00
..
retry.go builder/azure-arm: Update logic for setting subscriptionID (#8685) 2020-02-04 10:54:58 -05:00
retry_test.go retry: encapsulate & return the last seen error in a RetryExhaustedError 2019-04-24 14:19:23 +02:00
utils_test.go retry: encapsulate & return the last seen error in a RetryExhaustedError 2019-04-24 14:19:23 +02:00