Skip to content

add metadata to example templates #3451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
GB -> GiB
  • Loading branch information
bpmct committed Aug 10, 2022
commit 2c67a57c69fd225f6f99066a40e4b382d27c65b8
2 changes: 1 addition & 1 deletion examples/templates/aws-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ resource "coder_metadata" "workspace_info" {
}
item {
key = "disk"
value = "${aws_instance.dev.root_block_device[0].volume_size} GB"
value = "${aws_instance.dev.root_block_device[0].volume_size} GiB"
}
}
2 changes: 1 addition & 1 deletion examples/templates/aws-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ resource "coder_metadata" "workspace_info" {
}
item {
key = "disk"
value = "${aws_instance.dev.root_block_device[0].volume_size} GB"
value = "${aws_instance.dev.root_block_device[0].volume_size} GiB"
}
}
2 changes: 1 addition & 1 deletion examples/templates/azure-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,6 @@ resource "coder_metadata" "home_info" {

item {
key = "size"
value = "${var.home_size} GB"
value = "${var.home_size} GiB"
}
}
2 changes: 1 addition & 1 deletion examples/templates/do-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ resource "coder_metadata" "volume-info" {

item {
key = "size"
value = "${digitalocean_volume.home_volume.size} GB"
value = "${digitalocean_volume.home_volume.size} GiB"
}

}
2 changes: 1 addition & 1 deletion examples/templates/gcp-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ resource "coder_metadata" "home_info" {

item {
key = "size"
value = "${google_compute_disk.root.size} GB"
value = "${google_compute_disk.root.size} GiB"
}
}
2 changes: 1 addition & 1 deletion examples/templates/gcp-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ resource "coder_metadata" "home_info" {

item {
key = "size"
value = "${google_compute_disk.root.size} GB"
value = "${google_compute_disk.root.size} GiB"
}
}