Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #24 from databricks/add_volume_tags_to_devbox
Browse files Browse the repository at this point in the history
[PLAT-26020] add tags to devbox volumes
  • Loading branch information
iuliand-db committed Feb 2, 2021
2 parents 62c03dc + fed46b7 commit a3b67f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions launcher/src/Instance.scala
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,17 @@ object Instance{
.build()
}:_*
)
.build(),
TagSpecification.builder()
.resourceType(ResourceType.VOLUME)
.tags(
tags.map{case (k, v) =>
Tag.builder()
.key(k)
.value(v)
.build()
}:_*
)
.build()
)
.userData(java.util.Base64.getEncoder.encodeToString(userdata.getBytes))
Expand Down

0 comments on commit a3b67f8

Please sign in to comment.