PaloAltoNetworks / terraform-aws-swfw-modules

Terraform Reusable Modules for Software Firewalls on AWS
https://registry.terraform.io/modules/PaloAltoNetworks/swfw-modules/aws
MIT License
8 stars 10 forks source link

Variable for KMS alias is missing #40

Closed YounosN closed 3 weeks ago

YounosN commented 2 months ago

Describe the bug

below line must be added after line 140 in examples/vmseries_standalone/main.tf

ebs_kms_key_alias = each.value.common.ebs_kms_id

Module Version

v2.0.7

Terraform version

No response

Expected behavior

No response

Current behavior

Error: "name" must begin with 'alias/' and be comprised of only [0-9A-Za-z_/-]
│ 
│   with module.vmseries["vmseries-01"].data.aws_kms_alias.current_arn[0],
│   on ../../modules/vmseries/main.tf line 30, in data "aws_kms_alias" "current_arn":
│   30:   name  = coalesce(var.ebs_kms_key_alias, data.aws_ebs_default_kms_key.current[0].key_arn)

Anything else to add?

No response