Skip to content

Commit

Permalink
Merge pull request #56 from F5Networks/devel_13102023
Browse files Browse the repository at this point in the history
adding ebs volume size support
  • Loading branch information
RavinderReddyF5 authored Oct 13, 2023
2 parents 68eed84 + ddc473a commit 3b258fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ These variables have default values and don't have to be set to use this module.
| ebs_volume_encryption | Whether to enable encryption on the EBS volume | `bool` | false |
| ebs_volume_kms_key_arn | The ARN of the KMS key for volume encryption when using a customer managed key | `string` | |
| ebs_volume_type | The EBS volume type to use for the root volume | `string` | gp2 |
| ebs_volume_size | Size of the volume in gibibytes (GiB) | `number` | 82 |
| f5_ami_search_name | BIG-IP AMI name to search for | `string` | F5 BIGIP-*PAYG-Best 200Mbps* |
| aws_secretmanager_auth | Whether to use key vault to pass authentication | `bool` | false |
| aws_secretmanager_secret_id | AWS Secret Manager Secret ID that stores the BIG-IP password | `string` | |
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ resource "aws_instance" "f5_bigip" {
delete_on_termination = true
encrypted = var.ebs_volume_encryption
kms_key_id = var.ebs_volume_kms_key_arn
volume_size = var.ebs_volume_size
volume_type = var.ebs_volume_type
}

Expand Down
10 changes: 8 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ variable "ebs_volume_kms_key_arn" {
default = null
}

variable "ebs_volume_size" {
description = "Size of the volume in gibibytes (GiB)"
type = number
default = 82
}

variable "ebs_volume_type" {
description = "The EBS volume type to use for the root volume"
type = string
Expand Down Expand Up @@ -135,14 +141,14 @@ variable "internal_securitygroup_ids" {
variable "DO_URL" {
description = "URL to download the BIG-IP Declarative Onboarding module"
type = string
default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.39.0/f5-declarative-onboarding-1.39.0-4.noarch.rpm"
default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.40.0/f5-declarative-onboarding-1.40.0-8.noarch.rpm"
}
## Please check and update the latest AS3 URL from https://github.com/F5Networks/f5-appsvcs-extension/releases/latest
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable "AS3_URL" {
description = "URL to download the BIG-IP Application Service Extension 3 (AS3) module"
type = string
default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.46.0/f5-appsvcs-3.46.0-5.noarch.rpm"
default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.47.0/f5-appsvcs-3.47.0-8.noarch.rpm"
}

## Please check and update the latest TS URL from https://github.com/F5Networks/f5-telemetry-streaming/releases/latest
Expand Down

0 comments on commit 3b258fd

Please sign in to comment.