Skip to content

Commit

Permalink
Update HTCondor module usage of CFT to be fully TPG 5.x compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
tpdownes committed May 10, 2024
1 parent 516f181 commit 9266a58
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions community/modules/compute/htcondor-execute-point/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ limitations under the License.

| Name | Source | Version |
|------|--------|---------|
| <a name="module_execute_point_instance_template"></a> [execute\_point\_instance\_template](#module\_execute\_point\_instance\_template) | terraform-google-modules/vm/google//modules/instance_template | ~> 10.1.1 |
| <a name="module_mig"></a> [mig](#module\_mig) | github.com/terraform-google-modules/terraform-google-vm//modules/mig | aea74d1 |
| <a name="module_execute_point_instance_template"></a> [execute\_point\_instance\_template](#module\_execute\_point\_instance\_template) | terraform-google-modules/vm/google//modules/instance_template | 10.1.1 |
| <a name="module_mig"></a> [mig](#module\_mig) | terraform-google-modules/vm/google//modules/mig | 10.1.1 |
| <a name="module_startup_script"></a> [startup\_script](#module\_startup\_script) | github.com/GoogleCloudPlatform/hpc-toolkit//modules/scripts/startup-script | v1.32.1&depth=1 |

## Resources
Expand Down
6 changes: 4 additions & 2 deletions community/modules/compute/htcondor-execute-point/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ module "startup_script" {

module "execute_point_instance_template" {
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "~> 10.1.1"
version = "10.1.1"

name_prefix = local.name_prefix
project_id = var.project_id
Expand All @@ -163,7 +163,9 @@ module "execute_point_instance_template" {
}

module "mig" {
source = "github.com/terraform-google-modules/terraform-google-vm//modules/mig?ref=aea74d1"
source = "terraform-google-modules/vm/google//modules/mig"
version = "10.1.1"

project_id = var.project_id
region = var.region
distribution_policy_target_shape = var.distribution_policy_target_shape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ limitations under the License.

| Name | Source | Version |
|------|--------|---------|
| <a name="module_central_manager_instance_template"></a> [central\_manager\_instance\_template](#module\_central\_manager\_instance\_template) | github.com/terraform-google-modules/terraform-google-vm//modules/instance_template | 84d7959 |
| <a name="module_htcondor_cm"></a> [htcondor\_cm](#module\_htcondor\_cm) | github.com/terraform-google-modules/terraform-google-vm//modules/mig | aea74d1 |
| <a name="module_central_manager_instance_template"></a> [central\_manager\_instance\_template](#module\_central\_manager\_instance\_template) | terraform-google-modules/vm/google//modules/instance_template | 10.1.1 |
| <a name="module_htcondor_cm"></a> [htcondor\_cm](#module\_htcondor\_cm) | terraform-google-modules/vm/google//modules/mig | 10.1.1 |
| <a name="module_startup_script"></a> [startup\_script](#module\_startup\_script) | github.com/GoogleCloudPlatform/hpc-toolkit//modules/scripts/startup-script | v1.32.1&depth=1 |

## Resources
Expand Down
8 changes: 4 additions & 4 deletions community/modules/scheduler/htcondor-central-manager/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ module "startup_script" {
}

module "central_manager_instance_template" {
# tflint-ignore: terraform_module_pinned_source
source = "github.com/terraform-google-modules/terraform-google-vm//modules/instance_template?ref=84d7959"
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "10.1.1"

name_prefix = local.name_prefix
project_id = var.project_id
Expand All @@ -147,8 +147,8 @@ module "central_manager_instance_template" {
}

module "htcondor_cm" {
# tflint-ignore: terraform_module_pinned_source
source = "github.com/terraform-google-modules/terraform-google-vm//modules/mig?ref=aea74d1"
source = "terraform-google-modules/vm/google//modules/mig"
version = "10.1.1"

project_id = var.project_id
region = var.region
Expand Down

0 comments on commit 9266a58

Please sign in to comment.