Closed sebastianczech closed 11 months 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/common_vmseries 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/vnet examples/dedicated_vmseries"
/plan paths="examples/common_vmseries examples/common_vmseries_and_autoscale examples/dedicated_vmseries examples/dedicated_vmseries_and_autoscale examples/virtual_network_gateway examples/appgw"
Testing job ID: 6584100272 Job result: FAILURE
/plan paths="examples/common_vmseries examples/common_vmseries_and_autoscale examples/dedicated_vmseries examples/dedicated_vmseries_and_autoscale examples/virtual_network_gateway examples/appgw"
Testing job ID: 6584150967 Job result: FAILURE
/plan paths="examples/common_vmseries examples/common_vmseries_and_autoscale examples/dedicated_vmseries examples/dedicated_vmseries_and_autoscale examples/virtual_network_gateway examples/appgw"
Testing job ID: 6584181839 Job result: SUCCESS
/idempotence paths="examples/common_vmseries examples/common_vmseries_and_autoscale examples/dedicated_vmseries examples/dedicated_vmseries_and_autoscale examples/virtual_network_gateway examples/appgw"
Testing job ID: 6584225370 Job result: FAILURE
/idempotence paths="examples/dedicated_vmseries examples/virtual_network_gateway"
Testing job ID: 6584818703 Job result: FAILURE
Deploying Application Gateway in WAFv2 SKU will fail. Adding this block to module's main.tf
should solve the issue:
waf_configuration {
enabled = var.waf_enabled
firewall_mode = "Detection"
rule_set_type = "OWASP"
rule_set_version = "3.2"
}
Deploying Application Gateway in WAFv2 SKU will fail. Adding this block to module's
main.tf
should solve the issue:waf_configuration { enabled = var.waf_enabled firewall_mode = "Detection" rule_set_type = "OWASP" rule_set_version = "3.2" }
Yes, thank you for feedback. I added support for WAF in Application Gateway: https://github.com/PaloAltoNetworks/terraform-azurerm-vmseries-modules/commit/f9c1b6f08089ebbf7099aca351596363950ce553
Description
PR delivers changes for Application Gateway:
README.md
adjusted to new style with additional header filemain.tf
by removing not requiredtry
Motivation and Context
307 , #325
How Has This Been Tested?
I checked that module using example included in PR.
Types of changes
Checklist