Skip to content

Commit

Permalink
fix: reduce length of vpc name in order to stay under 64 char limit (#29
Browse files Browse the repository at this point in the history
)

fix: Update variables.tf (#29)

* Update variables.tf
* Update main.tf
  • Loading branch information
rajatagarwal-ibm authored Jul 21, 2022
1 parent 69702dc commit 8fbe767
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/default/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module "slz_vpc" {
region = var.region
prefix = var.prefix
tags = var.resource_tags
name = var.prefix
name = var.vpc_name
}

#############################################################################
Expand Down
6 changes: 6 additions & 0 deletions examples/default/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,9 @@ variable "ssh_key" {
description = "An existing ssh key name to use for this example, if unset a new ssh key will be created"
default = null
}

variable "vpc_name" {
type = string
description = "Name for VPC"
default = "vpc"
}

0 comments on commit 8fbe767

Please sign in to comment.