Closed sebastianczech closed 1 year ago
/help
Currently supported commands include:
/sca
- run all SCA tests via pre-commit
/validate
- run terraform validate
/plan
- plan the infrastructure (only examples)/apply
- deploy the infrastructure and destroy afterwards (only examples)/idempotence
- test idempotence: deploy, plan and destroy afterwards (only examples).The 1st command does not take arguments, the remaining take two:
paths
- a space delimitied list of module pathstf_version
- (optional, defaults to the latest available) a space delimited list of Terraform versions to test the infrastrucure against.Examples:
# run idempotence tests on listed modules with Terraform versions: 1.2 (latest patch available), 1.4 (latest patch available), 1.5.4.
/idempotence paths="examples/combined_design examples/panorama_standalone" tf_version="1.2 1.4 1.5.4"
# run validation tests with the latest available Terraform version on listed modules.
/validate paths="modules/vmseries modules/vpc examples/combined_design"
/plan paths="examples/combined_design examples/centralized_design examples/combined_design_autoscale examples/combined_design" tf_version="1.5"
Testing job ID: 6492672081 Job result: SUCCESS
/idempotence paths="examples/combined_design examples/centralized_design examples/combined_design_autoscale examples/combined_design" tf_version="1.5"
Testing job ID: 6492696896 Job result: FAILURE
/idempotence paths="examples/combined_design examples/centralized_design examples/combined_design_autoscale examples/combined_design examples/isolated_design examples/isolated_design_autoscale examples/panorama_standalone examples/vmseries_standalone" tf_version="1.5"
Testing job ID: 6492872684 Job result: SUCCESS
Description
During release there was an error in
eu-central-1
region. Even when we specify TGW attachment with enabled appliance mode support, attachment is created with disabled value. Then while checking idempotence Terratest propose to change it intoenable
as it's defined in default value forappliance_mode_support
:While testing the same example in different regions e.g.
us-east-1
oreu-west-1
there is no issue and TGW attachment is created with enabled appliance support (as it's defined in default value forappliance_mode_support
).It seems to be a bug in
eu-central-1
region, so PRs delivers change of region for examples fromeu-central-1
toeu-west-1
in order to successfully created release package.Motivation and Context
There was an issue while doing release: https://github.com/PaloAltoNetworks/terraform-aws-vmseries-modules/actions/runs/6490065707
How Has This Been Tested?
Code was tested via ChatOps (see comments in PR).
Types of changes
Checklist