We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a2a71 commit 4398592Copy full SHA for 4398592
builder/tencentcloud/cvm/run_config.go
@@ -116,8 +116,8 @@ var ValidCBSType = []string{
116
}
117
118
func (cf *TencentCloudRunConfig) Prepare(ctx *interpolate.Context) []error {
119
- uuid := uuid.TimeOrderedUUID()
120
- packerId := fmt.Sprintf("packer_%s_%s", uuid[:8], uuid[9:13])
+ timeOrderedUUID := uuid.TimeOrderedUUID()
+ packerId := fmt.Sprintf("packer_%s_%s", timeOrderedUUID[:8], timeOrderedUUID[9:13])
121
if cf.Comm.SSHKeyPairName == "" && cf.Comm.SSHTemporaryKeyPairName == "" &&
122
cf.Comm.SSHPrivateKeyFile == "" && cf.Comm.SSHPassword == "" && cf.Comm.WinRMPassword == "" {
123
//tencentcloud support key pair name length max to 25
0 commit comments