Skip to content

Commit

Permalink
Fix for provider name (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunbar13 authored Nov 26, 2024
1 parent d7eb3c9 commit b538966
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ limitations under the License.
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >=0.13.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 3.88 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 3.88 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_google"></a> [google](#provider\_google) | >= 3.88 |
| <a name="provider_google-beta"></a> [google-beta](#provider\_google-beta) | >= 3.88 |

## Modules

Expand All @@ -43,8 +45,8 @@ No modules.

| Name | Type |
|------|------|
| [google_compute_instance_template.tpl](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/compute_instance_template) | resource |
| [google_project.this](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/data-sources/project) | data source |
| [google-beta_google_compute_instance_template.tpl](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/google_compute_instance_template) | resource |
| [google_project.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/project) | data source |

## Inputs

Expand Down
1 change: 1 addition & 0 deletions terraform/slurm_cluster/modules/_instance_template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ data "google_project" "this" {
# Instance Template
####################
resource "google_compute_instance_template" "tpl" {
provider = google-beta
name_prefix = "${var.name_prefix}-"
project = var.project_id
machine_type = var.machine_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ terraform {
required_version = ">=0.13.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.88"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.88"
}
Expand Down

0 comments on commit b538966

Please sign in to comment.