PaloAltoNetworks / terraform-aws-swfw-modules

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

Bug in IAM policy for ASG #11

Closed jogueber closed 7 months ago

jogueber commented 7 months ago

Describe the bug

The ASG module create a wrong IAM policy. the arn of the SSM parameter gets created as for instance

  "arn:aws:ssm:eu-central-1:xxxx:parameter//networking/palo_alto/delicense",

This contains one / to much. If I remove it in the parameter the lambda configuration does not match. The easiest fix is to remove one / in the policy

Module Version

2.0.0

Terraform version

No response

Expected behavior

No response

Current behavior

No response

Anything else to add?

No response

jogueber commented 7 months ago

the bug can be addressed for example through this --> https://github.com/PaloAltoNetworks/terraform-aws-swfw-modules/pull/12

sebastianczech commented 7 months ago

I'm closing the issue as it's resolve in PR #12