We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21e87ad + c303419 commit 702cad3Copy full SHA for 702cad3
.github/workflows/go-validate.yml
@@ -51,7 +51,7 @@ jobs:
51
go-version: ${{ needs.get-go-version.outputs.go-version }}
52
- uses: golangci/golangci-lint-action@82d40c283aeb1f2b6595839195e95c2d6a49081b # v5.0.0
53
with:
54
- version: v1.54.2
+ version: v1.60.1
55
only-new-issues: true
56
check-fmt:
57
needs:
.web-docs/components/builder/chroot/README.md
@@ -382,6 +382,18 @@ builders.
382
the intermediary AMI into any regions provided in `ami_regions`, then
383
delete the intermediary AMI. Default `false`.
384
385
+- `snapshot_copy_duration_minutes` (int64) - Specify a completion duration, in 15 minute increments, to initiate a
386
+ time-based AMI copy. The specified completion duration applies to each of the
387
+ snapshots associated with the AMI. Each snapshot associated with the AMI will be
388
+ completed within the specified completion duration, regardless of their size.
389
+
390
+ If you do not specify a value, the AMI copy operation is completed on a
391
+ best-effort basis.
392
393
+ For more information, see [Time-based copies].
394
395
+ [Time-based copies]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
396
397
- `imds_support` (string) - Enforce version of the Instance Metadata Service on the built AMI.
398
Valid options are unset (legacy) and `v2.0`. See the documentation on
399
[IMDS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
.web-docs/components/builder/ebs/README.md
@@ -235,6 +235,18 @@ necessary for this build to succeed and can be found further down the page.
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
.web-docs/components/builder/ebssurrogate/README.md
@@ -248,6 +248,18 @@ necessary for this build to succeed and can be found further down the page.
253
254
255
256
257
258
259
260
261
262
263
264
265
.web-docs/components/builder/instance/README.md
@@ -256,6 +256,18 @@ necessary for this build to succeed and can be found further down the page.
266
267
268
269
270
271
272
273
builder/chroot/builder.go
@@ -523,13 +523,14 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
523
TpmSupport: b.config.TpmSupport,
524
},
525
&awscommon.StepAMIRegionCopy{
526
- AccessConfig: &b.config.AccessConfig,
527
- Regions: b.config.AMIRegions,
528
- AMIKmsKeyId: b.config.AMIKmsKeyId,
529
- RegionKeyIds: b.config.AMIRegionKMSKeyIDs,
530
- EncryptBootVolume: b.config.AMIEncryptBootVolume,
531
- Name: b.config.AMIName,
532
- OriginalRegion: *ec2conn.Config.Region,
+ AccessConfig: &b.config.AccessConfig,
+ Regions: b.config.AMIRegions,
+ AMIKmsKeyId: b.config.AMIKmsKeyId,
+ RegionKeyIds: b.config.AMIRegionKMSKeyIDs,
+ EncryptBootVolume: b.config.AMIEncryptBootVolume,
+ Name: b.config.AMIName,
+ OriginalRegion: *ec2conn.Config.Region,
533
+ AMISnapshotCopyDurationMinutes: b.config.AMISnapshotCopyDurationMinutes,
534
535
&awscommon.StepEnableDeprecation{
536
AccessConfig: &b.config.AccessConfig,
0 commit comments