Skip to content

Commit

Permalink
Merge branch 'main' into update_to_6.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fshuva committed May 31, 2023
2 parents 227c5c8 + beffc2f commit 52e3412
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ scripts/clean-code.js
azure_funcapp/host.json

# aws_cloudformation
autoscale_params.txt
autoscale_params.txt

.terraform*
2 changes: 1 addition & 1 deletion image.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "ibm_is_image" "vnf_custom_image" {
href = var.image
name = "${var.CLUSTER_NAME}-fortigate-custom-image-${random_string.random_suffix.result}"
operating_system = "ubuntu-18-04-amd64"

resource_group = data.ibm_resource_group.rg.id

timeouts {
create = "60m"
Expand Down
9 changes: 9 additions & 0 deletions vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ variable "SECURITY_GROUP" {
description = "The Security Group to attach to the FortiGate instance Network Interfaces."
}

variable "RESOURCE_GRP" {
type = string
default = "Default"
description = "The RESOURCE Group Name to attach to the FortiGate instances."
}

data "ibm_resource_group" "rg" {
name = var.RESOURCE_GRP
}

// For easy identification, the name of the cluster uses the format cluster-name-resource-randomSuffix."
// Name must be lowercase.
Expand Down

0 comments on commit 52e3412

Please sign in to comment.