Skip to content

Commit

Permalink
Update providers.tf version to 0.13.0 (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikchern authored Mar 17, 2023
1 parent 1803dda commit 27a3b27
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
11 changes: 10 additions & 1 deletion docs/data-sources/cluster_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,22 @@ output "out_beehive" {
}
data "spectrocloud_cluster_group" "tenant_cl" {
name = "tenant_cl"
name = "sanfrancisco"
context = "tenant"
}
output "out_tenant_cl" {
value = data.spectrocloud_cluster_group.tenant_cl.id
}
data "spectrocloud_cluster_group" "project_sc" {
name = "cg-1"
context = "project"
}
output "out_project_sc" {
value = data.spectrocloud_cluster_group.project_sc.id
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ variable "sc_project_name" {}

provider "spectrocloud" {
host = var.sc_host
api_key = var.sc_api_key
api_key = var.sc_api_key
project_name = var.sc_project_name
}
14 changes: 7 additions & 7 deletions examples/e2e/vsphere_virtual_machine/resource_vm.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
resource "virtual_machine" "example" {
cluster_uid = spectrocloud_cluster_vsphere.cluster.id
name = var.name
namespace = var.namespace
cluster_uid = spectrocloud_cluster_vsphere.cluster.id
name = var.name
namespace = var.namespace

/*template {
id = var.template_uid
}*/
state = var.state
cpu_cores = var.cpu_cores
memory = var.memory
image = var.image
state = var.state
cpu_cores = var.cpu_cores
memory = var.memory
image = var.image
cloudinit_user_data = var.cloudinit_user_data
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
spectrocloud = {
version = ">= 0.12"
version = ">= 0.13"
source = "spectrocloud/spectrocloud"
}
}
Expand Down

0 comments on commit 27a3b27

Please sign in to comment.