Skip to content

Commit

Permalink
Add run tags to ebsvolume IAM role
Browse files Browse the repository at this point in the history
When using the amazon-ebsvolume builder ensure that run_tags are applied to the IAM profile, consistent with the amazon-ebs builder.
  • Loading branch information
OompahLoompah committed Jan 7, 2025
1 parent 96bd5b2 commit 0f2ee87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builder/ebsvolume/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
IamInstanceProfile: b.config.IamInstanceProfile,
SkipProfileValidation: b.config.SkipProfileValidation,
TemporaryIamInstanceProfilePolicyDocument: b.config.TemporaryIamInstanceProfilePolicyDocument,
Tags: b.config.RunTags,
Ctx: b.config.ctx,
},
instanceStep,
&stepTagEBSVolumes{
Expand Down

0 comments on commit 0f2ee87

Please sign in to comment.