Skip to content

Commit

Permalink
rename storage_domain_id (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
engelmi authored Jun 2, 2022
1 parent 2247ba9 commit d4fb129
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/resources/disk.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The ovirt_disk resource creates disks in oVirt.

```terraform
resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/disk_attachment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data "ovirt_blank_template" "blank" {
}
resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/disk_attachments.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data "ovirt_blank_template" "blank" {
}
resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/disk_from_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The ovirt_disk_from_image resource creates disks in oVirt from a local image fil

```terraform
resource "ovirt_disk_from_image" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
alias = "test"
sparse = true
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/vm_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data "ovirt_blank_template" "blank" {
}
resource "ovirt_disk_from_image" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
alias = "test"
sparse = true
Expand Down
4 changes: 2 additions & 2 deletions examples/data-sources/ovirt_disk_attachments/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ data "ovirt_blank_template" "blank" {
}

resource "ovirt_disk" "test1" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
sparse = true
}

resource "ovirt_disk" "test2" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/ovirt_disk_attachments/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ type tfvars struct {
Username string `json:"username"`
Password string `json:"password"`
URL string `json:"url"`
StorageDomainID ovirtclient.StorageDomainID `json:"storagedomain_id"`
StorageDomainID ovirtclient.StorageDomainID `json:"storage_domain_id"`
ClusterID ovirtclient.ClusterID `json:"cluster_id"`
VNICProfileID ovirtclient.VNICProfileID `json:"vnic_profile_id"`
TLSInsecure bool `json:"tls_insecure"`
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_affinity_group/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ variable "cluster_id" {
type = string
}

variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk/resource.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_attachment/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data "ovirt_blank_template" "blank" {
}

resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_attachment/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_attachments/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data "ovirt_blank_template" "blank" {
}

resource "ovirt_disk" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
size = 1048576
alias = "test"
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_attachments/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_from_image/resource.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "ovirt_disk_from_image" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
alias = "test"
sparse = true
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_disk_from_image/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_vm_start/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data "ovirt_blank_template" "blank" {
}

resource "ovirt_disk_from_image" "test" {
storagedomain_id = var.storagedomain_id
storage_domain_id = var.storage_domain_id
format = "raw"
alias = "test"
sparse = true
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/ovirt_vm_start/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "storagedomain_id" {
variable "storage_domain_id" {
type = string
description = "ID of the storage domain to create the disk on."
}
Expand Down

0 comments on commit d4fb129

Please sign in to comment.