PaloAltoNetworks / terraform-aws-vmseries-modules

Terraform Reusable Modules for VM-Series on AWS
https://registry.terraform.io/modules/PaloAltoNetworks/vmseries-modules/aws
MIT License
40 stars 49 forks source link

fix(module/asg): Execute pip to install Python packages (corner case in CI/CD pipeline) #412

Closed sebastianczech closed 12 months ago

sebastianczech commented 12 months ago

Description

PR delivers fix for one corner case while executing Terraform code in CI/CD pipelines.

Motivation and Context

If Terraform code is executed in CI/CD pipeline, then:

PR changes that behaviour - instead of using false, when there are no Python packages, we are using timestamp(), which forces to execute pip install every time, when there are no Python packages.

How Has This Been Tested?

Code was tested locally by:

Types of changes

Checklist

sebastianczech commented 12 months ago

/idempotence paths="examples/isolated_design_autoscale"

Testing job ID: 7015635672 Job result: SUCCESS